Click or drag to resize
WaveReader Methods

The WaveReader type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the current reader and the underlying stream.
(Inherited from BinaryReader.)
Public methodDispose
Releases all resources used by the current instance of the BinaryReader class.
(Inherited from BinaryReader.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetDurationInMS
Gets audio stream duration in milliseconds.
(Overrides AudioReaderGetDurationInMS.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLengthInBytes
Gets audio stream length in bytes.
(Overrides AudioReaderGetLengthInBytes.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleMakeMP3
Changes Wave stream to MP3 stream if Wave stream contains MPEG Layer 3 data.
Public methodMilliseconds2Bytes
Converts from milliseconds to bytes for current stream.
(Inherited from AudioReader.)
Public methodPeekChar
Returns the next available character and does not advance the byte or character position.
(Inherited from BinaryReader.)
Public methodRead
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.
(Inherited from BinaryReader.)
Public methodRead(Char, Int32, Int32)
Reads the specified number of characters from the stream, starting from a specified point in the character array.
(Inherited from BinaryReader.)
Public methodRead(Byte, Int32, Int32)
Reads the specified number of bytes from the stream, starting from a specified point in the byte array.
(Inherited from BinaryReader.)
Public methodReadBoolean
Reads a Boolean value from the current stream and advances the current position of the stream by one byte.
(Inherited from BinaryReader.)
Public methodReadByte
Reads the next byte from the current stream and advances the current position of the stream by one byte.
(Inherited from BinaryReader.)
Public methodReadBytes
Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.
(Inherited from BinaryReader.)
Public methodReadChar
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.
(Inherited from BinaryReader.)
Public methodReadChars
Reads the specified number of 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.
(Inherited from BinaryReader.)
Public methodReadData
Reads all audio data from the stream.
(Overrides AudioReaderReadData.)
Public methodReadData(Int32)
Reads audio data from the stream.
(Overrides AudioReaderReadData(Int32).)
Public methodReadData(Int32, Int32)
Reads audio data from the stream.
(Overrides AudioReaderReadData(Int32, Int32).)
Public methodReadDataInBytes(Int32)
Reads audio data from the stream.
(Overrides AudioReaderReadDataInBytes(Int32).)
Public methodReadDataInBytes(Int32, Int32)
Reads audio data from the stream.
(Overrides AudioReaderReadDataInBytes(Int32, Int32).)
Public methodReadDecimal
Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.
(Inherited from BinaryReader.)
Public methodReadDouble
Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.
(Inherited from BinaryReader.)
Public methodReadFormat
Reads an audio format.
(Overrides AudioReaderReadFormat.)
Public methodCode exampleReadInfoTag
Reads INFO metadata(similar mp3 tags) from Wave stream.
Public methodReadInt16
Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
(Inherited from BinaryReader.)
Public methodReadInt32
Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
(Inherited from BinaryReader.)
Public methodReadInt64
Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
(Inherited from BinaryReader.)
Public methodReadSByte
Reads a signed byte from this stream and advances the current position of the stream by one byte.
(Inherited from BinaryReader.)
Public methodReadSingle
Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
(Inherited from BinaryReader.)
Public methodReadString
Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.
(Inherited from BinaryReader.)
Public methodReadUInt16
Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.
(Inherited from BinaryReader.)
Public methodReadUInt32
Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.
(Inherited from BinaryReader.)
Public methodReadUInt64
Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
(Inherited from BinaryReader.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also