Skip to main content

put_nullable_bytes

Function put_nullable_bytes 

Source
pub fn put_nullable_bytes(
    buf: &mut impl BufMut,
    value: Option<&[u8]>,
) -> Result<(), EncodeError>
Expand description

Encode classic NULLABLE_BYTES (length -1 marks null).