C# 클래스 TagLib.Ogg.PageHeader

This structure provides a representation of an Ogg page header.
파일 보기 프로젝트 열기: secred/Tachycardia 1 사용 예제들

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