rmp::decode

Function read_bin_len

Source
pub fn read_bin_len<R: RmpRead>(
    rd: &mut R,
) -> Result<u32, ValueReadError<R::Error>>
Expand description

Attempts to read up to 5 bytes from the given reader and to decode them as Binary array length.

ยงNote

This function will silently retry on every EINTR received from the underlying Read until successful read.