public interface DoubleAccessor extends Field
Field which has double accessors.
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(byte[] buffer)
Answer a double from the given byte array buffer,
at the offset of this field.
|
double |
getDouble(byte[] buffer,
int bufOffset)
Answer a double from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putDouble(double value,
byte[] buffer)
Put a double into the given byte array buffer,
at the offset of this field.
|
void |
putDouble(double value,
byte[] buffer,
int bufOffset)
Put a double into the given byte array buffer,
at the bufOffset + offset of this field.
|
getByteLength, getOffset, setOffsetdouble getDouble(byte[] buffer)
buffer - the byte arraydouble getDouble(byte[] buffer,
int bufOffset)
buffer - the byte arraybufOffset - the additional offset into the byte arrayvoid putDouble(double value,
byte[] buffer)
value - the double valuebuffer - the byte arrayvoid putDouble(double value,
byte[] buffer,
int bufOffset)
value - the double valuebuffer - the byte arraybufOffset - the additional offset into the byte array