com.kenai.jaffl.byref

Class AddressByReference

public class AddressByReference extends AbstractPrimitiveReference<Address>

Constructor Summary
AddressByReference(Address value)
Creates a new reference to an address value
Method Summary
voidmarshal(ByteBuffer buffer)
Copies the address value to native memory
intnativeSize()
Gets the native size of type of reference
voidunmarshal(ByteBuffer buffer)
Copies the address value from native memory

Constructor Detail

AddressByReference

public AddressByReference(Address value)
Creates a new reference to an address value

Parameters: value the initial native value

Method Detail

marshal

public void marshal(ByteBuffer buffer)
Copies the address value to native memory

Parameters: buffer the native memory buffer

nativeSize

public int nativeSize()
Gets the native size of type of reference

Returns: Integer.SIZE

unmarshal

public void unmarshal(ByteBuffer buffer)
Copies the address value from native memory

Parameters: buffer the native memory buffer.