public interface FloatAccessor extends Field
Field which has float accessors.
| Modifier and Type | Method and Description |
|---|---|
float |
getFloat(byte[] buffer)
Answer a float from the given byte array buffer,
at the offset of this field.
|
float |
getFloat(byte[] buffer,
int bufOffset)
Answer a float from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putFloat(float value,
byte[] buffer)
Put a float into the given byte array buffer,
at the offset of this field.
|
void |
putFloat(float value,
byte[] buffer,
int bufOffset)
Put a float into the given byte array buffer,
at the bufOffset + offset of this field.
|
getByteLength, getOffset, setOffsetfloat getFloat(byte[] buffer)
buffer - the byte arrayfloat getFloat(byte[] buffer,
int bufOffset)
buffer - the byte arraybufOffset - the additional offset into the byte arrayvoid putFloat(float value,
byte[] buffer)
value - the float valuebuffer - the byte arrayvoid putFloat(float value,
byte[] buffer,
int bufOffset)
value - the float valuebuffer - the byte arraybufOffset - the additional offset into the byte array