C# Class CSharpUtils.Streams.ProxyStream

Inheritance: Stream
Show file Open project: soywiz/csharputils

Protected Properties

Property Type Description
CloseParent bool
ParentStream Stream

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
ProxyStream ( Stream BaseStream, bool CloseParent = false ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

ProxyStream() public method

public ProxyStream ( Stream BaseStream, bool CloseParent = false ) : System
BaseStream Stream
CloseParent bool
return System

Read() public method

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

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

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

Write() public method

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

Property Details

CloseParent protected property

protected bool CloseParent
return bool

ParentStream protected property

protected Stream ParentStream
return Stream