Skip to main content

Crate riff_chunks

Crate riff_chunks 

Source
Expand description

RIFF container readers and a seekable writer.

Riff borrows a complete input slice. ChunkReader reads a stream when the std feature is active. Both readers leave list descent to the caller and report resolved RF64 sizes.

Structs§

Chunk
A chunk whose payload borrows from the input.
ChunkHeader
A resolved chunk header.
ChunkReader
A streaming chunk walker.
ChunkWriter
A seekable RIFF or RIFX writer.
Chunks
An iterator over one chunk nesting level.
Ds64
The resolved contents of an RF64 or BW64 size table.
Fourcc
A four-byte chunk identifier.
FourccError
Reports the byte length of an invalid textual or slice identifier.
Header
The twelve-byte container header.
Payload
A bounded reader over the current chunk payload.
Riff
A borrowed view of a complete container.
Seekable
Marks a reader whose unread payloads can be skipped with Seek.

Enums§

Error
An error from parsing, streaming, or writing a container.
Feature
A format feature that a requested operation does not support.
Form
The container form and its byte order.

Constants§

MAX_DEPTH
Maximum number of list levels that a reader or writer can enter.

Traits§

Source
A sealed input type for ChunkReader.

Type Aliases§

Result
A crate result with Error as its error type.