C# Class System.IO.ProxyStream

Inheritance: Stream
显示文件 Open project: soywiz/NodeNetAsync Class Usage Examples

Public Properties

Property Type Description
InternalPosition long
ParentStream Stream

Protected Properties

Property Type Description
CloseParent bool

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
ProxyStream ( Stream ParentStream, bool CloseParent ) : System
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task

Protected Methods

Method Description
Dispose ( bool disposing ) : 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

ProxyStream() public method

public ProxyStream ( Stream ParentStream, bool CloseParent ) : System
ParentStream 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

ReadAsync() public method

public ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System
return Task

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

WriteAsync() public method

public WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
buffer byte
offset int
count int
cancellationToken System
return System.Threading.Tasks.Task

Property Details

CloseParent protected_oe property

protected bool CloseParent
return bool

InternalPosition public_oe property

public long InternalPosition
return long

ParentStream public_oe property

public Stream ParentStream
return Stream