fm.liveswitch.ogg.Page Class Reference

An Ogg page. More...

Public Member Functions

int getAbsoluteGranulePosition ()
 Gets the absolute granule position. More...
 
boolean getBeginningOfStream ()
 Gets whether this page is the first page of the bitstream. More...
 
byte[] getBytes ()
 Gets the page as a byte array. More...
 
boolean getContinuedPacket ()
 Gets whether this page is a continued (not fresh) packet. More...
 
boolean getEndOfStream ()
 Gets whether this page is the last page of the bitstream. More...
 
byte[] getPayload ()
 Gets the data payload. More...
 
int getSequenceNumber ()
 Gets the page sequence number. More...
 
int getStreamSerialNumber ()
 Gets the stream serial number. More...
 
 Page ()
 Initializes a new instance of the fm.liveswitch.ogg.Page class. More...
 
void setAbsoluteGranulePosition (int value)
 Sets the absolute granule position. More...
 
void setBeginningOfStream (boolean value)
 Sets whether this page is the first page of the bitstream. More...
 
void setContinuedPacket (boolean value)
 Sets whether this page is a continued (not fresh) packet. More...
 
void setEndOfStream (boolean value)
 Sets whether this page is the last page of the bitstream. More...
 
void setPayload (byte[] value)
 Sets the data payload. More...
 
void setSequenceNumber (int value)
 Sets the page sequence number. More...
 
void setStreamSerialNumber (int value)
 Sets the stream serial number. More...
 

Detailed Description

An Ogg page.

Constructor & Destructor Documentation

◆ Page()

fm.liveswitch.ogg.Page.Page ( )

Initializes a new instance of the fm.liveswitch.ogg.Page class.

Member Function Documentation

◆ getAbsoluteGranulePosition()

int fm.liveswitch.ogg.Page.getAbsoluteGranulePosition ( )

Gets the absolute granule position.

◆ getBeginningOfStream()

boolean fm.liveswitch.ogg.Page.getBeginningOfStream ( )

Gets whether this page is the first page of the bitstream.

◆ getBytes()

byte [] fm.liveswitch.ogg.Page.getBytes ( )

Gets the page as a byte array.

◆ getContinuedPacket()

boolean fm.liveswitch.ogg.Page.getContinuedPacket ( )

Gets whether this page is a continued (not fresh) packet.

◆ getEndOfStream()

boolean fm.liveswitch.ogg.Page.getEndOfStream ( )

Gets whether this page is the last page of the bitstream.

◆ getPayload()

byte [] fm.liveswitch.ogg.Page.getPayload ( )

Gets the data payload.

◆ getSequenceNumber()

int fm.liveswitch.ogg.Page.getSequenceNumber ( )

Gets the page sequence number.

◆ getStreamSerialNumber()

int fm.liveswitch.ogg.Page.getStreamSerialNumber ( )

Gets the stream serial number.

◆ setAbsoluteGranulePosition()

void fm.liveswitch.ogg.Page.setAbsoluteGranulePosition ( int  value)

Sets the absolute granule position.

◆ setBeginningOfStream()

void fm.liveswitch.ogg.Page.setBeginningOfStream ( boolean  value)

Sets whether this page is the first page of the bitstream.

◆ setContinuedPacket()

void fm.liveswitch.ogg.Page.setContinuedPacket ( boolean  value)

Sets whether this page is a continued (not fresh) packet.

◆ setEndOfStream()

void fm.liveswitch.ogg.Page.setEndOfStream ( boolean  value)

Sets whether this page is the last page of the bitstream.

◆ setPayload()

void fm.liveswitch.ogg.Page.setPayload ( byte[]  value)

Sets the data payload.

◆ setSequenceNumber()

void fm.liveswitch.ogg.Page.setSequenceNumber ( int  value)

Sets the page sequence number.

◆ setStreamSerialNumber()

void fm.liveswitch.ogg.Page.setStreamSerialNumber ( int  value)

Sets the stream serial number.