public class BinarySignedLongL7Field extends BinarySignedLongField
DEFAULT_FIELD_WIDTH, MAX_FIELD_WIDTH, SIGNED_MAX_LEN1_VAL, SIGNED_MAX_LEN2_VAL, SIGNED_MAX_LEN3_VAL, SIGNED_MAX_LEN4_VAL, SIGNED_MAX_LEN5_VAL, SIGNED_MAX_LEN6_VAL, SIGNED_MAX_LEN7_VAL, SIGNED_MAX_LEN8_VAL, SIGNED_MIN_LEN1_VAL, SIGNED_MIN_LEN2_VAL, SIGNED_MIN_LEN3_VAL, SIGNED_MIN_LEN4_VAL, SIGNED_MIN_LEN5_VAL, SIGNED_MIN_LEN6_VAL, SIGNED_MIN_LEN7_VAL, SIGNED_MIN_LEN8_VAL, UNSIGNED_MAX_LEN1_VAL, UNSIGNED_MAX_LEN2_VAL, UNSIGNED_MAX_LEN3_VAL, UNSIGNED_MAX_LEN4_VAL, UNSIGNED_MAX_LEN5_VAL, UNSIGNED_MAX_LEN6_VAL, UNSIGNED_MAX_LEN7_VAL, UNSIGNED_MAX_LEN8_VAL| Constructor and Description |
|---|
BinarySignedLongL7Field(int offset) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLong(byte[] buffer)
Answer a long from the given byte array buffer,
at the offset of this field.
|
long |
getLong(byte[] buffer,
int bufOffset)
Answer a long from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putLong(long value,
byte[] buffer)
Put a signed long into thegiven byte array buffer,
at the bufOffset of this field.
|
void |
putLong(long value,
byte[] buffer,
int bufOffset)
Put a signed long into thegiven byte array buffer,
at the bufOffset + offset of this field.
|
setSignedequals, getByteLength, getOffset, isSigned, setOffsetpublic long getLong(byte[] buffer,
int bufOffset)
BinaryAsLongFieldgetLong in interface LongAccessorgetLong in class BinarySignedLongFieldbuffer - the byte arraybufOffset - the additional offset into the byte arraypublic long getLong(byte[] buffer)
BinaryAsLongFieldgetLong in interface LongAccessorgetLong in class BinarySignedLongFieldbuffer - the byte arraypublic void putLong(long value,
byte[] buffer,
int bufOffset)
throws java.lang.IllegalArgumentException
BinaryAsLongFieldputLong in interface LongAccessorputLong in class BinarySignedLongFieldvalue - the signed long 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
BinaryAsLongFieldputLong in interface LongAccessorputLong in class BinarySignedLongFieldvalue - the signed long valuebuffer - the byte arrayjava.lang.IllegalArgumentException - if the value is out of range