public class ShortByReference extends AbstractPrimitiveReference<java.lang.Short>
value| Constructor and Description |
|---|
ShortByReference(java.lang.Short value)
Creates a new reference to a short value
|
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(java.nio.ByteBuffer buffer)
Copies the short value to native memory
|
int |
nativeSize()
Gets the native size of type of reference in bytes.
|
void |
unmarshal(java.nio.ByteBuffer buffer)
Copies the short value from native memory
|
getValue, nativeType, setValuepublic ShortByReference(java.lang.Short 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()