pub fn decoded_length( flag: ValueFlag, bytes: &[u8], ) -> Result<usize, ValueCodecError>
Inspect the authoritative codec framing before reserving expansion space.