binarize library Null safety

Binarize allows for a more streamlined and extendable binary creation experience.

Classes

Payload
PayloadReader
PayloadType<T>
PayloadWriter

Constants

boolean → const _Boolean
Converts a boolean into a single bit. [...]
_Boolean()
flags → const _Flags
Converts a list of 8 booleans into a single byte. [...]
_Flags()
float32 → const _Float32
Converts a double into four bytes that represents a Float32 value. [...]
_Float32()
float64 → const _Float64
Converts a double into eight bytes that represents a Float64 value. [...]
_Float64()
int8 → const _Int8
Converts an integer into a single byte that represents an Int8 value. [...]
_Int8()
int16 → const _Int16
Converts a integer into two bytes that represents an Int16 value. [...]
_Int16()
int32 → const _Int32
Converts a integer into four bytes that represents an Int32 value. [...]
_Int32()
int64 → const _Int64
Converts a integer into eight bytes that represents an Int64 value. [...]
_Int64()
string → const _String
Converts a string into an encoded UTF-8 list. [...]
_String()
uint8 → const _Uint8
Converts a integer into a single byte that represents an unsigned Int8 value. [...]
_Uint8()
uint16 → const _Uint16
Converts a integer into two bytes that represents an unsigned Int16 value. [...]
_Uint16()
uint32 → const _Uint32
Converts a integer into four bytes that represents an unsigned Int32 value. [...]
_Uint32()
uint64 → const _Uint64
Converts a integer into eight bytes that represents an unsigned Int64 value. [...]
_Uint64()

Functions

binarize(PayloadWriter payload) → Uint8List