Total size of the page data (payload).
The granule position encoded in this page, used to compute stream duration.
Size of the page header including the segment table.
Page is a continuation of a previous packet.
First page of the logical bitstream (BOS).
Last page of the logical bitstream (EOS).
Whether this page header was successfully parsed and validated.
Derive packet sizes from the segment table.
Each segment value is 0–255. A packet spans consecutive segments; a segment value < 255 terminates the packet. If the last segment value is exactly 255, the packet continues on the next page.
Raw segment table bytes (one byte per segment, values 0–255).
Monotonically increasing sequence number of this page within its bitstream.
Serial number of the logical bitstream to which this page belongs.
Total size of the entire page (header + payload).
StaticparseParse an OGG page header from the given stream at the specified offset.
Returns null if the data at offset is not a valid OGG page.
Represents an OGG page header. Each OGG page begins with a 27-byte fixed header followed by the segment table.