getBigInt method

BigInt getBigInt(
  1. int length
)

Reads a region of the buffer as a signed big integer.

Items are read from the range [offset : offset+length].

The range must satisy the relations 0offsetoffset+lengththis.length.

Implementation

BigInt getBigInt(final int length) {
  final BigInt value = buffer.getBigInt(offset, length);
  offset += length;
  return value;
}