Trait mpeg2ts_reader::psi::WholeCompactSyntaxPayloadParser [−][src]
pub trait WholeCompactSyntaxPayloadParser {
type Context;
fn section<'a>(
&mut self,
_: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
);
}Trait for types that parse fully reconstructed PSI table sections.
This requires the caller to have buffered section data if it spanned multiple TS packets,
and the BufferCompactSyntaxParser type is available to perform such buffering.
Associated Types
Loading content...Required methods
fn section<'a>(
&mut self,
_: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)[src]
&mut self,
_: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)
Method that will receive a complete PSI table section, where the data parameter will
be header.section_length bytes long