Trait tikv_util::codec::bytes::BytesEncoder [−][src]
Provided methods
fn encode_bytes(&mut self, key: &[u8], desc: bool) -> Result<()>[src]
fn encode_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 memcomparable.