Structs§
- Read from a byte slice.
Traits§
- Things we can encode and read from a Reader,
Sized
version. Easier to work with when types are instantiated, for example in protocol crates such astlspuffin
. - Things we can encode and read from a Reader. Used by puffin as it does not require to be
Sized
(we rely on<dyn T>
forT:CodecP
. - Trait for data whose Vectors are encoded without length prefix
Functions§
- encode a Vec whose length is encoded in 1 byte
- encode a Vec whose length is encoded in 2 bytes
- encode a Vec whose length is encoded in 3 bytes