com.kenai.jaffl.byref

Class LongLongByReference

public class LongLongByReference extends AbstractPrimitiveReference<Long>

Constructor Summary
LongLongByReference(Long value)
Creates a new reference to a native longlong value
Method Summary
voidmarshal(ByteBuffer buffer)
Copies the Byte value to native memory
intnativeSize()
Gets the native size of type of reference in bytes.
voidunmarshal(ByteBuffer buffer)
Copies the Byte value from native memory

Constructor Detail

LongLongByReference

public LongLongByReference(Long value)
Creates a new reference to a native longlong value

Parameters: value the initial native value

Method Detail

marshal

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

Parameters: buffer the native memory buffer

nativeSize

public final int nativeSize()
Gets the native size of type of reference in bytes.

Returns: the size of a byte in bytes

unmarshal

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

Parameters: buffer the native memory buffer.