Trait codec::byte::CompactByteEncoder [−][src]
Required methods
fn write_compact_bytes(&mut self, data: &[u8]) -> Result<()>[src]
Joins bytes with its length into a byte slice.
It is more efficient in both space and time compared to encode_bytes.
Note that the encoded result is not memory-comparable.