BestBitCodec<T> class
- Implemented types
-
- BitCodec<
T>
- BitCodec<
Constructors
-
BestBitCodec.new({required List<
BitCodec< codecs})T> > -
const
Properties
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< codecs, T value) → intT> > -
getCodecWrittenSize<
T> (BitCodec< T> codec, T value) → int