pub fn check_cap( what: &'static str, len: usize, cap: usize, ) -> Result<(), DecodeError>
Checks len ≤ cap before any parse.
len ≤ cap