C# Class System.Net.FixedSizeReader

ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AsyncReadPacket ( AsyncProtocolRequest request ) : void
FixedSizeReader ( Stream transport ) : System.Diagnostics
ReadPacket ( byte buffer, int offset, int count ) : int

Private Methods

Method Description
CheckCompletionBeforeNextRead ( int bytes ) : bool
ReadCallback ( IAsyncResult transportResult ) : void
StartReading ( ) : void

Method Details

AsyncReadPacket() public method

public AsyncReadPacket ( AsyncProtocolRequest request ) : void
request AsyncProtocolRequest
return void

FixedSizeReader() public method

public FixedSizeReader ( Stream transport ) : System.Diagnostics
transport Stream
return System.Diagnostics

ReadPacket() public method

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