Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

Public Member Functions | Static Public Member Functions | Properties | Private Attributes

TagLib::Ogg::PageHeader Struct Reference

This structure provides a representation of an Ogg page header. More...

List of all members.

Public Member Functions

override bool Equals (object other)
 Checks whether or not the current instance is equal to another object.
bool Equals (PageHeader other)
 Checks whether or not the current instance is equal to another instance of PageHeader.
override int GetHashCode ()
 Generates a hash code for the current instance.
 PageHeader (File file, long position)
 Constructs and initializes a new instance of PageHeader by reading a raw Ogg page header from a specified position in a specified file.
 PageHeader (uint streamSerialNumber, uint pageNumber, PageFlags flags)
 Constructs and initializes a new instance of PageHeader with a given serial number, page number, and flags.
 PageHeader (PageHeader original, uint offset, PageFlags flags)
 Constructs and initializes a new instance of PageHeader by copying the values from another instance, offsetting the page number and applying new flags.
ByteVector Render ()
 Renders the current instance as a raw Ogg page header.

Static Public Member Functions

static bool operator!= (PageHeader first, PageHeader second)
 Gets whether or not two instances of PageHeader differ.
static bool operator== (PageHeader first, PageHeader second)
 Gets whether or not two instances of PageHeader are equal to eachother.

Properties

long AbsoluteGranularPosition [get]
 Gets the absolute granular position of the page described by the current instance.
uint DataSize [get]
 Gets the size of the data portion of the page described by the current instance as it appeared on disk.
PageFlags Flags [get]
 Gets the flags for the page described by the current instance.
ByteVector LacingValues [get]
 Gets the rendered lacing values for the current instance.
int[] PacketSizes [get, set]
 Gets and sets the sizes for the packets in the page described by the current instance.
uint PageSequenceNumber [get]
 Gets the sequence number of the page described by the current instance.
uint Size [get]
 Gets the size of the header as it appeared on disk.
uint StreamSerialNumber [get]
 Gets the serial number of stream that the page described by the current instance belongs to.

Private Attributes

ulong absolute_granular_position
 Contains the page absolute granular postion.
uint data_size
 Contains the data size on disk.
PageFlags flags
 Contains the page flags.
List< int > packet_sizes
 Contains the sizes of the packets contained in the current instance.
uint page_sequence_number
 Contains the page sequence number.
uint size
 Contains the header size on disk.
uint stream_serial_number
 Contains the stream serial number of the page.
byte version
 Contains the OGG version.

Detailed Description

This structure provides a representation of an Ogg page header.

Definition at line 64 of file PageHeader.cs.


The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index