Documentation ¶
Overview ¶
Package riff implements the Resource Interchange File Format, used by media formats such as AVI, WAVE and WEBP.
A RIFF stream contains a sequence of chunks. Each chunk consists of an 8-byte header (containing a 4-byte chunk type and a 4-byte chunk length), the chunk data (presented as an io.Reader), and some padding bytes.
A detailed description of the format is at http://www.tactilemedia.com/info/MCI_Control_Info.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LIST = FourCC{'L', 'I', 'S', 'T'}
LIST is the "LIST" FourCC.
Functions ¶
func NewListReader ¶
NewListReader returns a LIST chunk's list type, such as "movi" or "wavl", and its chunks as a *Reader.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader reads chunks from an underlying io.Reader.
Click to show internal directories.
Click to hide internal directories.