public class PackedSignedLongP11Field extends PackedSignedLongField
| Constructor and Description |
|---|
PackedSignedLongP11Field(int offset) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLong(byte[] buffer)
Answer a long value from the given byte array buffer,
at the offset of this field.
|
long |
getLong(byte[] buffer,
int bufOffset)
Answer a long value from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putLong(long value,
byte[] buffer)
Put a long value into the given byte array buffer,
at the offset of this field.
|
void |
putLong(long value,
byte[] buffer,
int bufOffset)
Put a long value into the given byte array buffer,
at the bufOffset + offset of this field.
|
equals, getByteLength, getOffset, getPrecision, isSigned, setOffsetpublic long getLong(byte[] buffer,
int bufOffset)
PackedDecimalAsLongFieldgetLong in interface LongAccessorgetLong in class PackedSignedLongFieldbuffer - the byte arraybufOffset - the additional offset into the byte arraypublic long getLong(byte[] buffer)
PackedDecimalAsLongFieldgetLong in interface LongAccessorgetLong in class PackedSignedLongFieldbuffer - the byte arraypublic void putLong(long value,
byte[] buffer,
int bufOffset)
throws java.lang.IllegalArgumentException
PackedDecimalAsLongFieldputLong in interface LongAccessorputLong in class PackedSignedLongFieldvalue - the signed int valuebuffer - the byte arraybufOffset - the additional offset into the byte arrayjava.lang.IllegalArgumentException - if the value is out of rangepublic void putLong(long value,
byte[] buffer)
throws java.lang.IllegalArgumentException
PackedDecimalAsLongFieldputLong in interface LongAccessorputLong in class PackedSignedLongFieldvalue - the signed int valuebuffer - the byte arrayjava.lang.IllegalArgumentException - if the value is out of range