bitChunk method

  1. @nonVirtual
T bitChunk(
  1. int left,
  2. int size
)

Returns a new instance with bits in left to size.

The result is left-padded with 0's.

Throws RangeError if left or size is out of range.

Implementation

@nonVirtual
T bitChunk(int left, int size) {
  _assertMaxBits(left, 'left');
  return wrapSafeValue(value.bitChunk(left, size));
}