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