bitChunk method
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));
}