C# Class TagLib.Ogg.PageHeader

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat bool

Equals() public méthode

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. ///
Résultat bool

GetHashCode() public méthode

Generates a hash code for the current instance.
public GetHashCode ( ) : int
Résultat int

PageHeader() public méthode

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. ///
Résultat System

PageHeader() public méthode

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. ///
Résultat System

PageHeader() public méthode

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. ///
Résultat System

Render() public méthode

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

operator() public static méthode

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