Alvas.Audio Class Library

Mp3Reader Methods

The methods of the Mp3Reader class are listed below. For a complete list of Mp3Reader class members, see the Mp3Reader Members topic.

Public Instance Methods

Close (inherited from BinaryReader)Closes the current reader and the underlying stream.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDurationInMS Gets audio stream duration in milliseconds.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLengthInBytes Gets audio stream length in bytes.
GetType (inherited from Object)Gets the Type of the current instance.
MakeWave Changes MP3 stream to Wave stream.
Milliseconds2Bytes (inherited from AudioReader) Converts from milliseconds to bytes for current stream.
PeekChar (inherited from BinaryReader)Returns the next available character and does not advance the byte or character position.
Read (inherited from BinaryReader)Overloaded. Reads characters from the underlying stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
ReadBoolean (inherited from BinaryReader)Reads a Boolean value from the current stream and advances the current position of the stream by one byte.
ReadByte (inherited from BinaryReader)Reads the next byte from the current stream and advances the current position of the stream by one byte.
ReadBytes (inherited from BinaryReader)Reads count bytes from the current stream into a byte array and advances the current position by count bytes.
ReadChar (inherited from BinaryReader)Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
ReadChars (inherited from BinaryReader)Reads count characters from the current stream, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream.
ReadDataOverloaded. Reads audio data from the stream.
ReadDataInBytesOverloaded. Reads audio data from the stream.
ReadDecimal (inherited from BinaryReader)Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.
ReadDouble (inherited from BinaryReader)Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.
ReadFormat Reads an audio format.
ReadID3v1Tag Reads ID3 tag version 1
ReadInt16 (inherited from BinaryReader)Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
ReadInt32 (inherited from BinaryReader)Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
ReadInt64 (inherited from BinaryReader)Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
ReadSByte (inherited from BinaryReader)Reads a signed byte from this stream and advances the current position of the stream by one byte.
ReadSingle (inherited from BinaryReader)Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
ReadString (inherited from BinaryReader)Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.
ReadUInt16 (inherited from BinaryReader)Reads a 2-byte unsigned integer from the current stream using little endian encoding and advances the position of the stream by two bytes.
ReadUInt32 (inherited from BinaryReader)Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.
ReadUInt64 (inherited from BinaryReader)Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

Mp3Reader Class | Alvas.Audio Namespace