Module packer

Module packer 

Source
Expand description

A module to pack any value that implements Packable.

The Packer trait represents types that can be used to write bytes into it. It can be thought as a no_std friendly alternative to the Write trait.

Structs§

CounterPacker
A Packer able to keep count of the number of written bytes.
SlicePacker
A Packer backed by a &mut [u8].

Traits§

Packer
A type that can pack any value that implements Packable.