Skip to main content

encode_value_to_slice

Function encode_value_to_slice 

Source
pub(crate) fn encode_value_to_slice<'a, T>(
    buf: &'a mut [u8],
    value: &T,
) -> Result<&'a [u8]>
where T: EncodeValue,
Expand description

Encodes value only (without tag + length) to a slice.