pub struct PesAssembler { /* private fields */ }Expand description
Reassembles PES packets for a single PID from successive TS payloads.
Feed each TS packet’s payload with its payload_unit_start_indicator;
feed returns the previous completed PES’s bytes when a new
unit starts. Call flush at end of stream for the last one.
The returned Vec<u8> is ready for crate::PesPacket::parse.
Implementations§
Trait Implementations§
Source§impl Debug for PesAssembler
impl Debug for PesAssembler
Source§impl Default for PesAssembler
impl Default for PesAssembler
Source§fn default() -> PesAssembler
fn default() -> PesAssembler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PesAssembler
impl RefUnwindSafe for PesAssembler
impl Send for PesAssembler
impl Sync for PesAssembler
impl Unpin for PesAssembler
impl UnsafeUnpin for PesAssembler
impl UnwindSafe for PesAssembler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more