pub fn validate_bounded_len<R>(
source: &R,
label: &str,
len: usize,
min_element_size: usize,
) -> Result<(), DeserializationError>where
R: ByteReader,Expand description
Validates that a serialized length fits both the reader budget and remaining input.