BinaryUint32List extension
A collection of binary methods to be applied to elements of Uint32List.
The methods here are roughly the same as those on BinaryInt, except that
they operate on an index
of the underlying list, and infer the length
property based on the data type of the underlying list (i.e. Uint32List
has a length
of 32
).
See BinaryList for more extension methods that operate on any List<int>
.
- on
Methods
-
countSetBits(
int index) → int -
Returns BinaryInt.countSetBits applied to the
index
-th int. -
getBoxed(
int index) → Uint32 -
Returns the
index
-th int boxed as a Uint32. -
msb(
int index) → bool -
Returns BinaryInt.msb applied to the
index
-th int. -
signedRightShift(
int index, int n) → int -
Returns the
index
-th int right-shifted byn
.