Skip to main content

decode_track_extensions

Function decode_track_extensions 

Source
fn decode_track_extensions(
    buf: &mut impl Buf,
) -> Result<Vec<KeyValuePair>, CodecError>
Expand description

Decode any remaining bytes in buf as a sequence of KVPs until buf is empty. Used for draft-16 track_extensions which has no explicit count — extensions simply fill the rest of the control-message payload.