BinaryQuantityCodec<V extends num> class

Quantity Codec

Implemented types

Constructors

BinaryQuantityCodec(NumFormat<dynamic, V> format, NumDataConversion numConversion, {({num max, num min})? numLimits})
const
BinaryQuantityCodec.of(NumFormat<dynamic, V> format, {NumDataConversion? conversion, ({num max, num min})? numLimits})

Properties

format NumFormat<dynamic, V>
final
hashCode int
The hash code for this object.
no setterinherited
numConversion NumDataConversion
final
numLimits → ({num max, num min})?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(int data) → V
override
encode(V view) int
override
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

numLimitsOf(NumDataConversion? conversion, BinaryFormat<dynamic, num> format) → ({num max, num min})?