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

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

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.