C# Class TagLib.Ogg.PageHeader

This structure provides a representation of an Ogg page header.
Exibir arquivo Open project: secred/Tachycardia Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( PageHeader other ) : bool

Checks whether or not the current instance is equal to another instance of PageHeader.

Equals ( object other ) : bool

Checks whether or not the current instance is equal to another object.

GetHashCode ( ) : int

Generates a hash code for the current instance.

PageHeader ( File file, long position ) : System

Constructs and initializes a new instance of by reading a raw Ogg page header from a specified position in a specified file.

PageHeader ( PageHeader original, uint offset, PageFlags flags ) : System

Constructs and initializes a new instance of by copying the values from another instance, offsetting the page number and applying new flags.

PageHeader ( uint streamSerialNumber, uint pageNumber, PageFlags flags ) : System

Constructs and initializes a new instance of with a given serial number, page number, and flags.

Render ( ) : ByteVector

Renders the current instance as a raw Ogg page header.

operator ( ) : bool

Gets whether or not two instances of differ.

Method Details

Equals() public method

Checks whether or not the current instance is equal to another instance of PageHeader.
public Equals ( PageHeader other ) : bool
other PageHeader /// A object to compare to the /// current instance. ///
return bool

Equals() public method

Checks whether or not the current instance is equal to another object.
public Equals ( object other ) : bool
other object /// A to compare to the current /// instance. ///
return bool

GetHashCode() public method

Generates a hash code for the current instance.
public GetHashCode ( ) : int
return int

PageHeader() public method

Constructs and initializes a new instance of by reading a raw Ogg page header from a specified position in a specified file.
/// is . /// /// is less than zero or greater /// than the size of the file. /// /// The Ogg identifier could not be found at the correct /// location. ///
public PageHeader ( File file, long position ) : System
file File /// A object containing the file from /// which the contents of the new instance are to be read. ///
position long /// A value specify at what position to /// read. ///
return System

PageHeader() public method

Constructs and initializes a new instance of by copying the values from another instance, offsetting the page number and applying new flags.
public PageHeader ( PageHeader original, uint offset, PageFlags flags ) : System
original PageHeader /// A object to copy the values /// from. ///
offset uint /// A value specifying how much to offset /// the page sequence number in the new instance. ///
flags PageFlags /// A value specifying the flags to /// use in the new instance. ///
return System

PageHeader() public method

Constructs and initializes a new instance of with a given serial number, page number, and flags.
public PageHeader ( uint streamSerialNumber, uint pageNumber, PageFlags flags ) : System
streamSerialNumber uint /// A value containing the serial number /// for the stream containing the page described by the new /// instance. ///
pageNumber uint /// A value containing the index of the /// page described by the new instance in the stream. ///
flags PageFlags /// A object containing the flags /// that apply to the page described by the new instance. ///
return System

Render() public method

Renders the current instance as a raw Ogg page header.
public Render ( ) : ByteVector
return ByteVector

operator() public static method

Gets whether or not two instances of differ.
public static operator ( ) : bool
return bool