| Modifier and Type | Field and Description |
|---|---|
| private static final Float |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | fromNative(Runtime
the current runtime. runtime, Pointer the native memory buffer. buffer, long the memory offset. offset)Implements jnr. |
| public final int | Returns: the size of a byte in bytesthe current runtime. runtime)Implements jnr. |
| public void | toNative(Runtime
the current runtime. runtime, Pointer the native memory buffer. buffer, long the memory offset. offset)Implements jnr. |
| DEFAULT | back to summary |
|---|---|
| private static final Float DEFAULT | |
| FloatByReference | back to summary |
|---|---|
| public FloatByReference() Creates a new reference to a short value initialized to zero. | |
| FloatByReference | back to summary |
|---|---|
| public FloatByReference(Float value) Creates a new reference to a float value
| |
| FloatByReference | back to summary |
|---|---|
| public FloatByReference(float value) Creates a new reference to a float value
| |
| fromNative | back to summary |
|---|---|
| public void fromNative(Runtime runtime, Pointer buffer, long offset) Implements jnr. Copies the float value from native memory | |
| nativeSize | back to summary |
|---|---|
| public final int nativeSize(Runtime runtime) Implements jnr. Gets the native size of type of reference in bytes.
| |
| toNative | back to summary |
|---|---|
| public void toNative(Runtime runtime, Pointer buffer, long offset) Implements jnr. Copies the float value to native memory | |