com.kenai.jaffl.byref
Class LongLongByReference

java.lang.Object
  extended by com.kenai.jaffl.byref.AbstractPrimitiveReference<Long>
      extended by com.kenai.jaffl.byref.LongLongByReference
All Implemented Interfaces:
ByReference<Long>

public class LongLongByReference
extends AbstractPrimitiveReference<Long>


Field Summary
 
Fields inherited from class com.kenai.jaffl.byref.AbstractPrimitiveReference
value
 
Constructor Summary
LongLongByReference(Long value)
          Creates a new reference to a native longlong value
 
Method Summary
 void marshal(ByteBuffer buffer)
          Copies the Byte value to native memory
 int nativeSize()
          Gets the native size of type of reference in bytes.
 void unmarshal(ByteBuffer buffer)
          Copies the Byte value from native memory
 
Methods inherited from class com.kenai.jaffl.byref.AbstractPrimitiveReference
getValue, nativeType, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

unmarshal

public void unmarshal(ByteBuffer buffer)
Copies the Byte value from 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


Copyright © 2011. All Rights Reserved.