Skip to main content

Module owned

Module owned 

Source
Expand description

Owned 188-byte TS packet with pre-parsed header fields.

OwnedTsPacket complements the zero-copy crate::ts::TsPacket (which holds a borrowed &[u8; 188]) with an owned [u8; 188] suitable for queuing, cloning, and in-place mutation — e.g. for mux pipelines that must rewrite the continuity counter or splice in a new payload.

Header parsing delegates to crate::ts::TsHeader::parse; no bit-twiddling is duplicated here.

Structs§

OwnedTsPacket
Owned 188-byte TS packet with pre-parsed header fields.