Crate ogg_pager

Source
Expand description

A simple OGG page reader

Structs§

Packets
A container for packets in an OGG file
PacketsIter
An iterator over packets
Page
An OGG page
PageHeader
An OGG page header

Enums§

PageError
Errors that can occur while performing Page operations

Constants§

CONTAINS_FIRST_PAGE_OF_BITSTREAM
The packet contains the first page of the logical bitstream
CONTAINS_LAST_PAGE_OF_BITSTREAM
The packet contains the last page of the logical bitstream
MAX_CONTENT_SIZE
The maximum page content size
MAX_SEGMENT_COUNT
The maximum number of segments a page can contain
PAGE_HEADER_SIZE
The size of an OGG page header

Functions§

crc32
Generates a CRC checksum based on the content
paginate
Create pages from a list of packets

Type Aliases§

Result
Alias for Result<T, PageError>