Versions in this module Expand all Collapse all v3 v3.0.33 Mar 12, 2021 v3.0.32 Mar 11, 2021 Changes in this version + const SECTION_BUFFER_SIZE + type DRow struct + func (r DRow) String() string + type DTable struct + Rows []DRow + func (t *DTable) Read(r io.Reader, length uint16) error + func (t DTable) String() string + type ESRow struct + func (r ESRow) String() string + type ESTable struct + Rows []ESRow + func (t *ESTable) Read(r io.Reader, length uint16) error + func (t ESTable) String() string + type ESType uint8 + const ES_TYPE_AAC + const ES_TYPE_DSMCC + const ES_TYPE_DSMCC_A + const ES_TYPE_DSMCC_B + const ES_TYPE_DSMCC_C + const ES_TYPE_DSMCC_D + const ES_TYPE_H222_1 + const ES_TYPE_H264_VIDEO + const ES_TYPE_H265_VIDEO + const ES_TYPE_MHEG + const ES_TYPE_MPEG1_AUDIO + const ES_TYPE_MPEG1_VIDEO + const ES_TYPE_MPEG2_AUDIO + const ES_TYPE_MPEG2_AUX + const ES_TYPE_MPEG2_VIDEO + const ES_TYPE_MPEG4_AUDIO + const ES_TYPE_MPEG4_VIDEO + const ES_TYPE_NONE + const ES_TYPE_PRIV_PES + const ES_TYPE_PRIV_SECT + func (f ESType) String() string + type Header struct + Id uint16 + LastSection uint8 + Section uint8 + Version uint8 + func (h *Header) Read(r io.Reader) error + func (h Header) String() string + type NITSection struct + func (n *NITSection) Read(r io.Reader, length int) error + func (n NITSection) String() string + type PATProgram struct + Pid uint16 + Program uint16 + func (r PATProgram) String() string + type PATSection struct + Programs []PATProgram + func (p *PATSection) Read(r io.Reader, length int) error + func (p PATSection) String() string + type PMTSection struct + ClockPid uint16 + Length uint16 + func (s *PMTSection) Read(r io.Reader, length int) error + func (s PMTSection) String() string + type Section struct + func NewSection(r io.Reader, data []byte) (*Section, error) + func (this *Section) String() string + type SectionHeader struct + Length uint16 + TableId TableType + type TableType uint8 + const BAT + const CAT + const EIT + const EIT_OTHER + const NIT + const NIT_OTHER + const PAT + const PMT + const SDT + const SDT_OTHER + const TDT + func (f TableType) String() string + type Tag uint8 + func (t Tag) String() string