com.kenai.jaffl.byref
public class FloatByReference extends AbstractPrimitiveReference<Float>
Constructor Summary | |
---|---|
FloatByReference(Float value)
Creates a new reference to a float value
|
Method Summary | |
---|---|
void | marshal(ByteBuffer buffer)
Copies the float value to native memory
|
int | nativeSize()
Gets the native size of type of reference in bytes.
|
void | unmarshal(ByteBuffer buffer)
Copies the float 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.