binary_format/binary_format library

Classes

Accum16
Adcu
marker for special handling closing the sealed hierarchy, simplifies caller defs
Angle16
0, 65536 -> [0.0, 1)
Angle16Deg
0, 65536 -> [0.0, 360.0)
Angle16Rad
0, 65536 -> [0.0, 2π)
BinaryCodec<V>
BinaryCodec<V>
BinaryCodecByHandlers<V>
BinaryCodecIdentity
BinaryFormat<S extends NativeType, V>
Serialization and storage on base int type V handle base value conversion
BitStructFormat<K extends BitField>
base type is sufficient for iteration
BoolFormat
Decimal10
1 binary is .1f
DecimalInv10
1 binary is 10.0f
EnumFormat<V extends Enum>
EnumFormatByHandlers<V extends Enum>
EnumOffsetFormat<V extends Enum>
Fixed16
User-defined fractBits, signed
FixedPoint<S extends NativeType>
FixedPointBase10<S extends NativeType>
FixedPointN<S extends NativeType>
Fract16
FractFormat<S extends NativeType>
Int16Int
Raw integer pass-through
Int32Int
Int8Int
IntFormat<S extends NativeType>
NativeTypeBase<S extends NativeType>
NativeTypeBase Descriptor using NativeType as marker only. Handles size and signed
NumFormat<S extends NativeType, V extends num>
Hierarchy axis on handling Int/Fract
Percent16
SignFormat
Uaccum16
Ufixed16
User-defined fractBits, unsigned
Ufract16
Uint16Int
Uint32Int
Uint8Int

Typedefs

DataDecoder<T> = T Function(int data)
DataEncoder<T> = int Function(T view)