Versions in this module Expand all Collapse all v1 v1.0.3 Mar 10, 2025 v1.0.1 Mar 10, 2025 Changes in this version + func Hexed(somebites []byte) string + func IsIn[T comparable](slice []T, val T) bool + func MkCrc32(data []byte) string + type AvailDescriptor struct + ProviderAvailID uint32 + type BandwidthReservation struct + type Command struct + func (cmd *Command) Json() string + func (cmd *Command) MarshalJSON() ([]byte, error) + func (cmd *Command) Show() + type Cue struct + Command *Command + Crc32 string + Descriptors []Descriptor + Dll uint16 + InfoSection *InfoSection + PacketData *packetData + func Json2Cue(s string) *Cue + func NewCue() *Cue + func (cue *Cue) AdjustPts(seconds float64) + func (cue *Cue) Decode(i interface{}) bool + func (cue *Cue) Encode() []byte + func (cue *Cue) Encode2B64() string + func (cue *Cue) Encode2Hex() string + func (cue *Cue) Show() + func (cue *Cue) Six2Five() string + type DTMFDescriptor struct + DTMFChars uint64 + DTMFCount uint8 + PreRoll uint8 + type Descriptor struct + func (dscptr *Descriptor) Json() string + func (dscptr *Descriptor) MarshalJSON() ([]byte, error) + func (dscptr *Descriptor) Show() + type InfoSection struct + CommandLength uint16 + CommandType uint8 + CwIndex string + EncryptedPacket bool + EncryptionAlgorithm uint8 + Name string + Private bool + ProtocolVersion uint8 + PtsAdjustment float64 + SapDetails string + SapType uint8 + SectionLength uint16 + SectionSyntaxIndicator bool + TableID string + Tier string + func (infosec *InfoSection) Json() string + func (infosec *InfoSection) Show() + type NameAndType struct + CommandType uint8 + Name string + type Pids struct + MaybePids []uint16 + PcrPids []uint16 + PmtPids []uint16 + Scte35Pids []uint16 + type PrivateCommand struct + Identifier uint32 + PrivateBytes []byte + type SegmentationDescriptor struct + ArchiveAllowedFlag bool + DeliveryNotRestrictedFlag bool + DeviceRestrictions string + NoRegionalBlackoutFlag bool + ProgramSegmentationFlag bool + SegmentNum uint8 + SegmentationDuration float64 + SegmentationDurationFlag bool + SegmentationEventCancelIndicator bool + SegmentationEventID string + SegmentationEventIDComplianceIndicator bool + SegmentationMessage string + SegmentationTypeID uint8 + SegmentationUpid *Upid + SegmentationUpidLength uint8 + SegmentationUpidType uint8 + SegmentsExpected uint8 + SubSegmentNum uint8 + SubSegmentsExpected uint8 + WebDeliveryAllowedFlag bool + type SpliceInsert struct + AvailExpected uint8 + AvailNum uint8 + BreakAutoReturn bool + BreakDuration float64 + DurationFlag bool + EventIDComplianceFlag bool + OutOfNetworkIndicator bool + ProgramSpliceFlag bool + SpliceEventCancelIndicator bool + SpliceEventID uint32 + SpliceImmediateFlag bool + UniqueProgramID uint16 + type SpliceNull struct + type SpliceTime struct + PTS float64 + TimeSpecifiedFlag bool + type Stream struct + Cues []*Cue + Pid2Prgm map[uint16]uint16 + Pid2Type map[uint16]uint8 + Pids *Pids + Prgm2Pcr map[uint16]uint64 + Prgm2Pts map[uint16]uint64 + Programs []uint16 + Quiet bool + func NewStream() *Stream + func (stream *Stream) Decode(fname string) []*Cue + func (stream *Stream) DecodeBytes(bites []byte) []*Cue + func (stream *Stream) DecodeMulticast(fname string) []*Cue + func (stream *Stream) DecodeReader(rdr io.Reader) []*Cue + type TagLenNameId struct + Identifier string + Length uint8 + Name string + Tag uint8 + type TimeDescriptor struct + TAINano uint32 + TAISeconds uint64 + UTCOffset uint16 + type TimeSignal struct + type Upid struct + ContentID []byte + EndOfDay uint8 + FormatIdentifier string + Name string + PrivateData []byte + Reserved uint8 + TSID uint16 + UniqueFor uint16 + UpidType uint8 + Upids []Upid + Value string