C# 클래스 Sharpex2D.Audio.WaveStream

상속: Stream, IDisposable
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
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