BitBuffer class
Constructors
- BitBuffer()
- BitBuffer.fromBase64(String compressed)
-
factory
- BitBuffer.fromBase64Compressed(String compressed)
-
factory
- BitBuffer.fromBB(BitBuffer obb)
-
factory
-
BitBuffer.fromBits(List<
int> data, {int bitsPerIndex = bitsPerInt, int? trueSize}) -
factory
-
BitBuffer.fromUInt8List(List<
int> bytes) -
factory
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
-
allocate(
int bits) → void -
append(
) → BitBufferWriter -
getBit(
int globalBit) → bool -
getBits(
int start, int bits) → int -
getFreeBits(
) → int -
getIndexForBit(
int globalBit) → int -
getLocalBit(
int globalBit) → int -
getLongs(
) → List< int> -
getSize(
) → int -
getStartingBitForIndex(
int index) → int -
getStartingBitForSize(
int bits) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printBinary(
) → void -
printBinarySection(
int start, int length) → void -
reader(
) → BitBufferReader -
setBit(
int globalBit, bool state) → void -
setBits(
int start, int bits, int value) → void -
toBase64(
) → String -
toBase64Compressed(
) → String -
toString(
) → String -
A string representation of this object.
inherited
-
toUInt8List(
) → Uint8List -
trim(
) → void -
writer(
) → BitBufferWriter
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited