public interface MemoryBuffer extends DataBuffer
Modifier and Type | Method and Description |
---|---|
long |
getHandle()
Returns native memory handle (usually block address).
|
int |
getLength()
Returns the length of allocated memory block.
|
void |
setupReallocation(long reallocatedHandle,
int newSize)
Sets new handle and size after this block has been reallocated outside of
this block's code.
|
readByte, readByteArray, readByteArray, readCallbackReference, readInt, readLong, readPointer, readShort, resize, writeByte, writeByteArray, writeByteArray, writeCallbackReference, writeInt, writeLong, writePointer, writeShort
long getHandle()
int getLength()
void setupReallocation(long reallocatedHandle, int newSize)