Class CoreFoundation.CFDataRef
java.lang.Object
oshi.ffm.mac.CoreFoundation.CFTypeRef
oshi.ffm.mac.CoreFoundation.CFDataRef
- Enclosing interface:
CoreFoundation
A reference to a CFData object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a pointer to the bytes in the databyte[]getBytes()Get the data as a byte arrayintGet the length of the data in bytes
-
Constructor Details
-
CFDataRef
-
-
Method Details
-
getLength
public int getLength()Get the length of the data in bytes- Returns:
- Length in bytes
-
getBytePtr
-
getBytes
public byte[] getBytes()Get the data as a byte array- Returns:
- Byte array containing the data
-