Documentation ¶
Index ¶
- type Descriptor
- type PAT
- type PATEntry
- type PMT
- type Table
- func (t Table) CRC() []byte
- func (t Table) Data() []byte
- func (t Table) ID() uint8
- func (t Table) IDExtension() uint16
- func (t Table) IsCurrent() bool
- func (t Table) IsNext() bool
- func (t Table) LastSectionNumber() uint8
- func (t Table) PrivateIndicator() bool
- func (t Table) SectionLength() int
- func (t Table) SectionNumber() uint8
- func (t Table) SectionSyntaxIndicator() bool
- func (t Table) VersionNumber() uint8
- type TableBuffer
- type TableDemux
- type TableHandler
- type TableHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
type Descriptor []byte
func Descriptors ¶
func Descriptors(data []byte) []Descriptor
func (Descriptor) Data ¶
func (d Descriptor) Data() []byte
func (Descriptor) Length ¶
func (d Descriptor) Length() int
func (Descriptor) Tag ¶
func (d Descriptor) Tag() uint8
type Table ¶
type Table []byte
func CreateTable ¶
func (Table) IDExtension ¶
func (Table) LastSectionNumber ¶
func (Table) PrivateIndicator ¶
func (Table) SectionLength ¶
func (Table) SectionNumber ¶
func (Table) SectionSyntaxIndicator ¶
func (Table) VersionNumber ¶
type TableBuffer ¶
type TableDemux ¶
type TableDemux interface { Handle(pkt ts.Packet) Clear(id uint8) Select(id uint8, handler TableHandler) }
func NewTableDemux ¶
func NewTableDemux() TableDemux
type TableHandler ¶
type TableHandler interface {
Handle(table Table)
}
type TableHandlerFunc ¶
type TableHandlerFunc func(table Table)
func (TableHandlerFunc) Handle ¶
func (thf TableHandlerFunc) Handle(table Table)
Click to show internal directories.
Click to hide internal directories.