Skip to main content

read_nullable_string

Function read_nullable_string 

Source
pub fn read_nullable_string<T: DeserializableTraceData>(
    buf: &mut Buffer<T>,
) -> Result<T::Text, DecodeError>
Expand description

Read a nullable string from the slices buf.

§Errors

Fails if the buffer doesn’t contain a valid utf8 msgpack string or a null marker.