public class BinarySignedIntL3Field extends BinarySignedIntField
DEFAULT_FIELD_WIDTH, MAX_FIELD_WIDTH, SIGNED_MAX_LEN1_VAL, SIGNED_MAX_LEN2_VAL, SIGNED_MAX_LEN3_VAL, SIGNED_MAX_LEN4_VAL, SIGNED_MIN_LEN1_VAL, SIGNED_MIN_LEN2_VAL, SIGNED_MIN_LEN3_VAL, SIGNED_MIN_LEN4_VAL, UNSIGNED_MAX_LEN1_VAL, UNSIGNED_MAX_LEN2_VAL, UNSIGNED_MAX_LEN3_VAL, UNSIGNED_MAX_LEN4_VAL| Constructor and Description |
|---|
BinarySignedIntL3Field(int offset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getInt(byte[] buffer)
Answer an int from the given byte array buffer,
at the offset of this field.
|
int |
getInt(byte[] buffer,
int bufOffset)
Answer an int from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putInt(int value,
byte[] buffer)
Put a signed int into the given byte array buffer,
at the offset of this field.
|
void |
putInt(int value,
byte[] buffer,
int bufOffset)
Put a signed int into thegiven byte array buffer,
at the bufOffset + offset of this field.
|
setSignedequals, getByteLength, getOffset, isSigned, setOffsetpublic int getInt(byte[] buffer)
BinaryAsIntFieldgetInt in interface IntAccessorgetInt in class BinarySignedIntFieldbuffer - the byte arraypublic int getInt(byte[] buffer,
int bufOffset)
BinaryAsIntFieldgetInt in interface IntAccessorgetInt in class BinarySignedIntFieldbuffer - the byte arraybufOffset - the additional offset into the byte arraypublic void putInt(int value,
byte[] buffer)
BinaryAsIntFieldputInt in interface IntAccessorputInt in class BinarySignedIntFieldvalue - the signed int valuebuffer - the byte arraypublic void putInt(int value,
byte[] buffer,
int bufOffset)
BinaryAsIntFieldputInt in interface IntAccessorputInt in class BinarySignedIntFieldvalue - the signed int valuebuffer - the byte arraybufOffset - the additional offset into the byte array