Struct mpeg2ts_reader::psi::SectionSyntaxSectionProcessor
[−]
[src]
pub struct SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, { /* fields omitted */ }
Methods
impl<SP> SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, [src]
SP: SectionSyntaxPayloadParser,
pub fn new(payload_parser: SP) -> SectionSyntaxSectionProcessor<SP>[src]
Trait Implementations
impl<SP> SectionProcessor for SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, [src]
SP: SectionSyntaxPayloadParser,
type Context = SP::Context
fn start_section<'a>(
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)[src]
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)
Note that the first 3 bytes of section_data contain the header fields that have also been supplied to this call in the header parameter. This is to allow implementers to calculate a CRC over the whole section if required. Read more
fn continue_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8])[src]
fn reset(&mut self)[src]
Auto Trait Implementations
impl<SP> Send for SectionSyntaxSectionProcessor<SP> where
SP: Send,
SP: Send,
impl<SP> Sync for SectionSyntaxSectionProcessor<SP> where
SP: Sync,
SP: Sync,