pub struct LengthValueEncoder<T>(_, _);
Expand description
State for encoding some bytes, preceded by a VarU64 indicating their length
Create an encoder for encoding the given bytes.
Encode (potentially only parts of) the bytes into the output buffer. This returns how
many bytes were written. If it returns zero even though the out
buffer had non-zero
length, the encoding process is done.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.