C# Class Pdelvo.Minecraft.Network.FullyReadStream

Inheritance: Stream
Show file Open project: pdelvo/Pdelvo.Minecraft

Public Methods

Method Description
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
FullyReadStream ( Stream sourceStream ) : System
Peek ( ) : int
PeekAsync ( ) : Task
PeekAsync ( CancellationToken token ) : Task
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken token ) : Task
ReadData ( int maxCount ) : void
ReadDataAsync ( int maxCount ) : Task
ReadDataAsync ( int maxCount, CancellationToken token ) : Task
Seek ( long offset, SeekOrigin origin ) : long

Method Details

Dispose() protected method

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

Flush() public method

public Flush ( ) : void
return void

FlushAsync() public method

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

FullyReadStream() public method

public FullyReadStream ( Stream sourceStream ) : System
sourceStream Stream
return System

Peek() public method

public Peek ( ) : int
return int

PeekAsync() public method

public PeekAsync ( ) : Task
return Task

PeekAsync() public method

public PeekAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

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

WriteByte() public method

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