C# Class System.Net.Cache.ForwardingReadStream

Inheritance: System.Net.Cache.BaseWrapperStream, ICloseEx
Mostra file Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
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

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Dispose ( bool disposing, CloseExState closeState ) : void

Private Methods

Method Description
ForwardingReadStream ( Stream originalStream, Stream shadowStream, long bytesToSkip, bool throwOnWriteError ) : System
ICloseEx ( CloseExState closeState ) : void
ReadCallback ( IAsyncResult transportResult ) : void
ReadComplete ( IAsyncResult transportResult ) : void

Method Details

BeginRead() public method

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state Object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state Object
return IAsyncResult

Dispose() protected final method

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

Dispose() protected method

protected Dispose ( bool disposing, CloseExState closeState ) : void
disposing bool
closeState CloseExState
return void

EndRead() public method

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

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