RIFF file processing.

Details: The RIFF (Resource Interchange File Format) file format is the underlying format for several popular multimedia formats, including Microsoft .wav and .avi files. This package contains classes that faciliate reading and writing files in the RIFF format.

More information on the RIFF file format can be obtained from RIFF WAVE (.WAV) file format.

Because the RIFF file format is Windows-centric phenomenon, "windows.h" notation is used in this package documentation. This means:

BYTE is an 8-bit integer, represented in this package with byte
WORD is a 16-bit integer, represented in this package with short
DWORD is a 32-bit integer, represented in this package with int

Whenever WORDs or DWORDs are serialized into bytes, the bytes are arranged in little-endian order.