BitUtils class

Class container for bit utility functions.

Constructors

BitUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

areBitsSet(int value, int bitMask) bool
Get if the specified bits are set.
intIsBitSet(int value, int bitNum) bool
Get if the specified bit is set.
resetBit(int value, int bitNum) int
Reset the specified bit.
resetBits(int value, int bitMask) int
Reset the specified bits.
setBit(int value, int bitNum) int
Set the specified bit.
setBits(int value, int bitMask) int
Set the specified bits.