public class ByteByReference extends AbstractPrimitiveReference<java.lang.Byte>
value| Constructor and Description |
|---|
ByteByReference(java.lang.Byte value)
Creates a new reference to a byte value
|
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(java.nio.ByteBuffer buffer)
Copies the Byte value to native memory
|
int |
nativeSize()
Gets the native size of type of reference in bytes.
|
void |
unmarshal(java.nio.ByteBuffer buffer)
Copies the Byte value from native memory
|
getValue, nativeType, setValuepublic ByteByReference(java.lang.Byte value)
value - the initial native valuepublic void marshal(java.nio.ByteBuffer buffer)
buffer - the native memory bufferpublic void unmarshal(java.nio.ByteBuffer buffer)
buffer - the native memory buffer.public final int nativeSize()