C# Класс TagLib.MusePack.StreamHeader

This struct implements IAudioCodec to provide support for reading MusePack audio properties.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

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

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

Метод Описание
Equals ( StreamHeader other ) : bool

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

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.

StreamHeader ( File file, long streamLength ) : System

Constructs and initializes a new instance of for a specified header block and stream length.

operator ( ) : bool

Gets whether or not two instances of differ.

Приватные методы

Метод Описание
ReadSize ( ByteVector data, int &pos ) : ulong
ReadSize ( File file, uint &packetSizeLength, bool &eof ) : ulong
ReadSv7Properties ( ByteVector data ) : void
ReadSv8Properties ( File file ) : void

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

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

Checks whether or not the current instance is equal to another instance of StreamHeader.
public Equals ( StreamHeader other ) : bool
other StreamHeader /// 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

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

Constructs and initializes a new instance of for a specified header block and stream length.
/// is . /// /// does not begin with or with or is less than /// bytes long. ///
public StreamHeader ( File file, long streamLength ) : System
file File
streamLength long /// A value containing the length of the /// MusePAck stream in bytes. ///
Результат System

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

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

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

FileIdentifierSv7 публичное статическое свойство

The identifier used to recognize a Musepack SV7 file.
public static ReadOnlyByteVector FileIdentifierSv7
Результат ReadOnlyByteVector

FileIdentifierSv8 публичное статическое свойство

The identifier used to recognize a Musepack SV8 file.
public static ReadOnlyByteVector FileIdentifierSv8
Результат ReadOnlyByteVector