# Io Reference

Audio / Ogg / OggStreamState

|  | A wrapper around the libogg ogg_stream_state object.

clear

Clears the storage within the Ogg stream.
eos

Indicates whether we are at the end of the stream.
packetout(packet)

Outputs a packet to the codec-specific decoding engine.
packetpeek(packet)

Provides access to the next packet in the bitstream without advancing decoding.
pagein(page)

Submits a complete page to the stream layer.
reset

Resets the stream status to its initial position.
setSerialNumber

Sets the serial number for this stream.