C# Class TagLib.MusePack.StreamHeader

This struct implements IAudioCodec to provide support for reading MusePack audio properties.
Mostra file Open project: mono/taglib-sharp Class Usage Examples

Public Properties

Property Type Description
FileIdentifierSv7 ReadOnlyByteVector
FileIdentifierSv8 ReadOnlyByteVector

Public Methods

Method Description
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.

Private Methods

Method Description
ReadSize ( ByteVector data, int &pos ) : ulong
ReadSize ( File file, uint &packetSizeLength, bool &eof ) : ulong
ReadSv7Properties ( ByteVector data ) : void
ReadSv8Properties ( File file ) : void

Method Details

Equals() public method

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. ///
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

StreamHeader() public method

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. ///
return System

operator() public static method

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

Property Details

FileIdentifierSv7 public_oe static_oe property

The identifier used to recognize a Musepack SV7 file.
public static ReadOnlyByteVector FileIdentifierSv7
return ReadOnlyByteVector

FileIdentifierSv8 public_oe static_oe property

The identifier used to recognize a Musepack SV8 file.
public static ReadOnlyByteVector FileIdentifierSv8
return ReadOnlyByteVector