public interface BigDecimalAccessor extends Field
Field objects that have BigDecimal
accessors.
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getBigDecimal(byte[] buffer)
Answer a BigDecimal from the given byte array buffer,
at the offset of this field.
|
java.math.BigDecimal |
getBigDecimal(byte[] buffer,
int bufOffset)
Answer a BigDecimal from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putBigDecimal(java.math.BigDecimal value,
byte[] buffer)
Put a BigDecimal into the given byte array buffer,
at the offset of this field.
|
void |
putBigDecimal(java.math.BigDecimal value,
byte[] buffer,
int bufOffset)
Put a BigDecimal into the given byte array buffer,
at the bufOffset + offset of this field.
|
getByteLength, getOffset, setOffsetjava.math.BigDecimal getBigDecimal(byte[] buffer)
buffer - the byte arrayjava.math.BigDecimal getBigDecimal(byte[] buffer,
int bufOffset)
buffer - the byte arraybufOffset - the additional offset into the byte arrayvoid putBigDecimal(java.math.BigDecimal value,
byte[] buffer)
throws java.lang.IllegalArgumentException
value - the BigDecimal valuebuffer - the byte arrayjava.lang.IllegalArgumentException - if the value is out of rangevoid putBigDecimal(java.math.BigDecimal value,
byte[] buffer,
int bufOffset)
throws java.lang.IllegalArgumentException
value - the BigDecimal valuebuffer - the byte arraybufOffset - the additional offset into the byte arrayjava.lang.IllegalArgumentException - if the value is out of range