Module primitive

Source
Expand description

The module contains the implementation of the Postcard codec. The codec is used for types that can be represented by an array. It includes all primitive types and types that are arrays inside or could be represented by arrays.

Structs§

Primitive
The codec is used for types that can be represented by an array. The SIZE const specifies the size of the array used to represent the type.

Functions§

utxo_id_to_bytes
Converts the UtxoId into an array of bytes.