[][src]Function rmp::decode::read_bin_len

pub fn read_bin_len<R: Read>(rd: &mut R) -> Result<u32, ValueReadError>

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.