pub fn capped_container_size(raw: usize) -> usizeExpand description
Caps a raw container size at MAX_CONTAINER_PREALLOC.
Implementations of ShapeDeserializer::container_size SHOULD use this
when returning a size derived from untrusted input (e.g., a CBOR length header).