rmp::decode

Function read_marker

Source
pub fn read_marker<R: RmpRead>(
    rd: &mut R,
) -> Result<Marker, MarkerReadError<R::Error>>
Expand description

Attempts to read a single byte from the given reader and to decode it as a MessagePack marker.