fn skip_extensions(
buf: &mut impl Buf,
count: u64,
) -> Result<Vec<u8>, CodecError>Expand description
Skip over extensions in the buffer, reading extension_count varints.
Extension encoding: for each extension, read type (varint).
- Even type: value is a single varint
- Odd type: value is length-prefixed bytes (varint length + bytes)