pub fn get_compact_bytes_borrowed<'de>(
buf: &mut &'de [u8],
) -> Result<&'de [u8], ProtocolError>Expand description
Decode flexible COMPACT_BYTES that borrow from the input buffer.
ยงErrors
Returns the underlying protocol error when input is truncated, contains an invalid length or tag, or cannot be encoded for the selected version.