[][src]Trait va_ts::WithHeader

pub trait WithHeader<'buf>: Bufer<'buf> {
    pub fn b(&self) -> &'buf [u8] { ... }
pub fn table_id(&self) -> TableID { ... }
pub fn section_syntax_indicator(&self) -> bool { ... }
pub fn section_length(&self) -> u16 { ... }
pub fn sz(&self) -> usize { ... } }

Provided methods

pub fn b(&self) -> &'buf [u8][src]

buffer seeked

pub fn table_id(&self) -> TableID[src]

pub fn section_syntax_indicator(&self) -> bool[src]

if set to 1 (true) - 4th and 5th bytes are table-id-extension

must be set to 1 for: PAT, CAT, PMT NIT, EIT, BAT, SDT

pub fn section_length(&self) -> u16[src]

pub fn sz(&self) -> usize[src]

complete section length

Loading content...

Implementors

impl<'buf> WithHeader<'buf> for EIT<'buf>[src]

impl<'buf> WithHeader<'buf> for PAT<'buf>[src]

impl<'buf> WithHeader<'buf> for PMT<'buf>[src]

impl<'buf> WithHeader<'buf> for SDT<'buf>[src]

Loading content...