Skip to main content

get_compact_bytes_borrowed

Function get_compact_bytes_borrowed 

Source
pub fn get_compact_bytes_borrowed<'de>(
    buf: &mut &'de [u8],
) -> Result<&'de [u8], ProtocolError>
Expand description

Decode COMPACT_BYTES (flexible) borrowing from the input buffer.