pub fn read_bounded_len<R>(
source: &mut R,
label: &str,
min_element_size: usize,
) -> Result<usize, DeserializationError>where
R: ByteReader,Expand description
Reads and validates a serialized length before it is used for allocation.