|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Number
jnr.ffi.byref.AbstractNumberReference<java.lang.Float>
jnr.ffi.byref.FloatByReference
public final class FloatByReference
| Constructor Summary | |
|---|---|
FloatByReference()
Creates a new reference to a short value initialized to zero. |
|
FloatByReference(float value)
Creates a new reference to a float value |
|
FloatByReference(java.lang.Float value)
Creates a new reference to a float value |
|
| Method Summary | |
|---|---|
void |
marshal(Pointer buffer,
long offset)
Copies the float value to native memory |
int |
nativeSize(Runtime runtime)
Gets the native size of type of reference in bytes. |
void |
unmarshal(Pointer buffer,
long offset)
Copies the float value from native memory |
| Methods inherited from class jnr.ffi.byref.AbstractNumberReference |
|---|
byteValue, checkNull, doubleValue, floatValue, getValue, intValue, longValue, shortValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FloatByReference()
public FloatByReference(java.lang.Float value)
value - the initial native valuepublic FloatByReference(float value)
value - the initial native value| Method Detail |
|---|
public void marshal(Pointer buffer,
long offset)
buffer - the native memory buffer
public void unmarshal(Pointer buffer,
long offset)
buffer - the native memory buffer.public final int nativeSize(Runtime runtime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||