BestBitCodec<T> class

Implemented types

Constructors

BestBitCodec({required List<BitCodec<T>> codecs})
const

Properties

codecs → List<BitCodec<T>>
final
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
reader(BitBufferReader reader) → T
override
toString() → String
A string representation of this object.
inherited
variant(BitCodec<T> codec) → BestBitCodec<T>
override
writer(BitBufferWriter writer, T t) → void
override

Operators

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

Static Methods

getBestCodec<T>(List<BitCodec<T>> codecs, T value) → int
getCodecWrittenSize<T>(BitCodec<T> codec, T value) → int