Function rmp::decode::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.