com.kenai.jaffl.byref
public class ShortByReference extends AbstractPrimitiveReference<Short>
Constructor Summary | |
---|---|
ShortByReference(Short value)
Creates a new reference to a short value
|
Method Summary | |
---|---|
void | marshal(ByteBuffer buffer)
Copies the short value to native memory
|
int | nativeSize()
Gets the native size of type of reference in bytes.
|
void | unmarshal(ByteBuffer buffer)
Copies the short value from native memory
|
Parameters: value the initial native value
Parameters: buffer the native memory buffer
Returns: the size of a byte in bytes
Parameters: buffer the native memory buffer.