setBigInt method

void setBigInt(
  1. BigInt value,
  2. int length
)

Writes a big signed integer to a region of the buffer.

The value is written to the range [offset : offset+length]. If length is omitted, the minimum number of bytes required to store this big integer value is used.

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

Implementation

void setBigInt(final BigInt value, final int length) {
  _increaseCapacity(length);
  offset = buffer.setBigInt(value, offset, length);
}