pub fn read_array_len<R>(rd: &mut R) -> Result<u32, ValueReadError<R::Error>>where
R: RmpRead,
Expand description
Attempts to read up to 5 bytes from the given reader and to decode them as a big-endian u32 array size.
Array format family stores a sequence of elements in 1, 3, or 5 bytes of extra bytes in addition to the elements.
ยงNote
This function will silently retry on every EINTR received from the underlying Read
until
successful read.