C# Класс Sharpex2D.Audio.WaveStream

Наследование: Stream, IDisposable
Показать файл Открыть проект

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

Метод Описание
Close ( ) : void

Closes the Stream.

Dispose ( ) : void

Disposes the object.

Flush ( ) : void

Flushs the stream.

Read ( byte buffer, int offset, int count ) : int

Reads the stream.

Seek ( long position, SeekOrigin origin ) : long

Seeks the Stream

SetLength ( long length ) : void

Sets the Length.

WaveStream ( Stream stream ) : System

Initializes a new WaveStream class.

WaveStream ( string file ) : System

Initializes a new WaveStream class.

Write ( byte buffer, int offset, int count ) : void

Writes into the stream.

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

Метод Описание
ReadChunk ( BinaryReader reader ) : string

Reads a chunk.

ReadHeader ( ) : void

Reads the Header.

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

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

Closes the Stream.
public Close ( ) : void
Результат void

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

Disposes the object.
public Dispose ( ) : void
Результат void

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

Flushs the stream.
public Flush ( ) : void
Результат void

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

Reads the stream.
public Read ( byte buffer, int offset, int count ) : int
buffer byte The Buffer.
offset int The Offset.
count int The Count.
Результат int

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

Seeks the Stream
public Seek ( long position, SeekOrigin origin ) : long
position long The Position.
origin SeekOrigin The Origin.
Результат long

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

Sets the Length.
public SetLength ( long length ) : void
length long The Length.
Результат void

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

Initializes a new WaveStream class.
public WaveStream ( Stream stream ) : System
stream Stream The BaseStream.
Результат System

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

Initializes a new WaveStream class.
public WaveStream ( string file ) : System
file string The File.
Результат System

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

Writes into the stream.
public Write ( byte buffer, int offset, int count ) : void
buffer byte The Buffer.
offset int The Offset.
count int The Count.
Результат void