C# Класс TagLib.Ogg.PageHeader

This structure provides a representation of an Ogg page header.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Equals() публичный Метод

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. ///
Результат bool

Equals() публичный Метод

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. ///
Результат bool

GetHashCode() публичный Метод

Generates a hash code for the current instance.
public GetHashCode ( ) : int
Результат int

PageHeader() публичный Метод

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. ///
Результат System

PageHeader() публичный Метод

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. ///
Результат System

PageHeader() публичный Метод

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. ///
Результат System

Render() публичный Метод

Renders the current instance as a raw Ogg page header.
public Render ( ) : ByteVector
Результат ByteVector

operator() публичный статический Метод

Gets whether or not two instances of differ.
public static operator ( ) : bool
Результат bool