BitBuffer class

Constructors

BitBuffer([Endian endian = Endian.little])
BitBuffer.fromBase64(String compressed, {Endian endian = Endian.little})
factory
BitBuffer.fromBase64Compressed(String compressed, {Endian endian = Endian.little})
factory
BitBuffer.fromBB(BitBuffer obb, {Endian? endian})
BitBuffer.fromBits(List<int> data, {int bitsPerIndex = bitsPerInt, int? trueSize, Endian endian = Endian.little})
factory
BitBuffer.fromUInt8List(List<int> bytes, {Endian endian = Endian.little})
factory

Properties

endian ↔ Endian
getter/setter pair
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