pub trait WholeCompactSyntaxPayloadParser {
type Context;
// Required method
fn section(
&mut self,
_: &mut Self::Context,
header: &SectionCommonHeader,
data: &[u8],
);
}Expand description
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.
Required Associated Types§
Required Methods§
Sourcefn section(
&mut self,
_: &mut Self::Context,
header: &SectionCommonHeader,
data: &[u8],
)
fn section( &mut self, _: &mut Self::Context, header: &SectionCommonHeader, data: &[u8], )
Method that will receive a complete PSI table section, where the data parameter will
be header.section_length bytes long