C# Class System.IO.Stream.SyncStream

Inheritance: Stream, IDisposable
显示文件 Open project: gbarnett/shared-source-cli-2.0

Private Properties

Property Type Description
BeginRead IAsyncResult
BeginWrite IAsyncResult
SyncStream System

Public Methods

Method Description
Close ( ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( [ bytes, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long length ) : void
Write ( byte bytes, int offset, int count ) : void
WriteByte ( byte b ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private 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
SyncStream ( Stream stream ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
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 ( [ bytes, int offset, int count ) : int
bytes [
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : 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 length ) : void
length long
return void

Write() public method

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

WriteByte() public method

public WriteByte ( byte b ) : void
b byte
return void