Function read_bin_len

Source
pub fn read_bin_len<R: Read>(rd: &mut R) -> Result<u32, ValueReadError>
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.