public interface ByReference<T>
Modifier and Type | Method and Description |
---|---|
T |
getValue() |
void |
marshal(java.nio.ByteBuffer buffer)
Copies the java value to native memory
|
int |
nativeSize()
Gets the size of the native buffer required to store the value
|
void |
unmarshal(java.nio.ByteBuffer buffer)
Copies the java value from native memory
|
int nativeSize()
void marshal(java.nio.ByteBuffer buffer)
buffer
- the native memory buffer.void unmarshal(java.nio.ByteBuffer buffer)
buffer
- the native memory buffer.T getValue()