java.lang.Object | |
↳ | com.carto.core.BinaryData |
A wrapper class for binary data (Blob).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BinaryData()
Constructs an empty BinaryData object.
| |||||||||||
BinaryData(byte[] dataPtr)
Constructs a BinaryData object from a raw byte array.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
byte[] |
getData()
Returns the data array.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
long |
size()
Returns the size of the data
| ||||||||||
String |
toString()
Creates a string representation of this map bounds object, useful for logging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs an empty BinaryData object.
Constructs a BinaryData object from a raw byte array.
dataPtr | The raw pointer to the data. |
---|
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the data array.
Returns the hash value of this object.
Returns the size of the data
Creates a string representation of this map bounds object, useful for logging.