|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemoryBuffer
Data source associated with an allocated native memory block.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.jniwrapper.DataBuffer |
---|
readByte, readByteArray, readByteArray, readCallbackReference, readInt, readLong, readPointer, readShort, resize, writeByte, writeByteArray, writeByteArray, writeCallbackReference, writeInt, writeLong, writePointer, writeShort |
Method Detail |
---|
long getHandle()
int getLength()
void setupReallocation(long reallocatedHandle, int newSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |