Documentation ¶
Overview ¶
Package manifest holds the main interface for Manifest encode/parse.
Index ¶
- type BufWrapper
- func (b *BufWrapper) ReadFrom(r io.Reader) (int64, error)
- func (b *BufWrapper) ReadString(delim byte) (line string)
- func (b *BufWrapper) Write(p []byte)
- func (b *BufWrapper) WriteRune(r rune)
- func (b *BufWrapper) WriteString(s string)
- func (b *BufWrapper) WriteValidString(data interface{}, write string) bool
- type Encoder
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufWrapper ¶
BufWrapper is a wrapper type for bytes.Buffer.
func NewBufWrapper ¶
func NewBufWrapper() *BufWrapper
NewBufWrapper returns an instance of BufWrapper.
func (*BufWrapper) ReadFrom ¶
func (b *BufWrapper) ReadFrom(r io.Reader) (int64, error)
ReadFrom wraps buffer.ReadFrom
func (*BufWrapper) ReadString ¶
func (b *BufWrapper) ReadString(delim byte) (line string)
ReadString wraps buffer.ReadString
func (*BufWrapper) WriteRune ¶
func (b *BufWrapper) WriteRune(r rune)
WriteRune wraps buffer.WriteRune
func (*BufWrapper) WriteString ¶
func (b *BufWrapper) WriteString(s string)
WriteString wraps buffer.WriteString
func (*BufWrapper) WriteValidString ¶
func (b *BufWrapper) WriteValidString(data interface{}, write string) bool
WriteValidString receives an interface and performs a buffer.Write if data is set. It returns true if value is set, and false if it isn't.
Directories ¶
Path | Synopsis |
---|---|
Package dash implements the Manifest interface to encode/parse MPEG DASH MPD files.
|
Package dash implements the Manifest interface to encode/parse MPEG DASH MPD files. |
Package hls implements the Manifest interface of package m3u8 to encode/parse playlists used in HTTP Live Streaming.
|
Package hls implements the Manifest interface of package m3u8 to encode/parse playlists used in HTTP Live Streaming. |
Click to show internal directories.
Click to hide internal directories.