Resource Interchange File Format (RIFF) (original) (raw)

8.15

This module provides utilities for reading and writing RIFF files.

1 Reading and Writing🔗ℹ

Reads RIFF data from in and returns it. If dispatch is supplied, it must be a procedure accepting a four-byte chunk ID, and returning a subclass of riff%or #f if no special handling is required.

Writes the RIFF object v to out.

2 Binary Classes🔗ℹ

The base type for all RIFF data.

Represents a raw chunk.

Represents a list chunk.

Returns the first sub-chunk with ID matching id. If multipleids are supplied, they refer to nested sub-chunks.

A binary type for reading chunk IDs.

Returns a binary type based on type, with padding to the nearest word.