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