flowly-mpegts 0.2.2

Mpeg2Ts format streaming parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::mpegts::{WritableLen, bytes::RawData};

/// Payload for Section Stream packets.
#[allow(missing_docs)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct Section {
    pub pointer_field: u8,
    pub data: RawData,
}

impl WritableLen for Section {
    fn writable_len(&self) -> usize {
        todo!()
    }
}