Skip to main content

get_compact_bytes_owned

Function get_compact_bytes_owned 

Source
pub fn get_compact_bytes_owned<B: Buf>(
    buf: &mut B,
) -> Result<Bytes, ProtocolError>
Expand description

ยงErrors

Returns the underlying protocol error when input is truncated, contains an invalid length or tag, or cannot be encoded for the selected version.