C# Class WaveLib.WaveStream

Inheritance: Stream
Mostra file Open project: soywiz/cspspemu Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
Read ( byte buf, int ofs, int count ) : int
Seek ( long pos, SeekOrigin o ) : long
SetLength ( long len ) : void
WaveStream ( Stream S ) : System
WaveStream ( string fileName ) : System
Write ( byte buf, int ofs, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ReadChunk ( BinaryReader reader ) : string
ReadHeader ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buf, int ofs, int count ) : int
buf byte
ofs int
count int
return int

Seek() public method

public Seek ( long pos, SeekOrigin o ) : long
pos long
o SeekOrigin
return long

SetLength() public method

public SetLength ( long len ) : void
len long
return void

WaveStream() public method

public WaveStream ( Stream S ) : System
S Stream
return System

WaveStream() public method

public WaveStream ( string fileName ) : System
fileName string
return System

Write() public method

public Write ( byte buf, int ofs, int count ) : void
buf byte
ofs int
count int
return void