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