pub fn get_bytes_borrowed<'de>(
buf: &mut &'de [u8],
) -> Result<&'de [u8], ProtocolError>Expand description
Decode BYTES (non-flexible) borrowing from the input buffer.
Wire: INT32 length, then length bytes. Length −1 = null (error here).
pub fn get_bytes_borrowed<'de>(
buf: &mut &'de [u8],
) -> Result<&'de [u8], ProtocolError>Decode BYTES (non-flexible) borrowing from the input buffer.
Wire: INT32 length, then length bytes. Length −1 = null (error here).