Function tikv_util::codec::bytes::decode_bytes [−][src]
pub fn decode_bytes(data: &mut BytesSlice<'_>, desc: bool) -> Result<Vec<u8>>
Decodes bytes which are encoded by encode_bytes
before.
Please note that, data is a mut reference to slice. After calling this the slice that data point to would change.