pub fn get_compact_string_borrowed<'de>(
buf: &mut &'de [u8],
) -> Result<&'de str, ProtocolError>Expand description
Decode a COMPACT_STRING borrowing from the input buffer.
Requires a contiguous buffer (i.e. &[u8]).
pub fn get_compact_string_borrowed<'de>(
buf: &mut &'de [u8],
) -> Result<&'de str, ProtocolError>Decode a COMPACT_STRING borrowing from the input buffer.
Requires a contiguous buffer (i.e. &[u8]).