C# Class Pdelvo.Minecraft.Network.BigEndianStream

Inheritance: Stream
ファイルを表示 Open project: pdelvo/Pdelvo.Minecraft Class Usage Examples

Public Methods

Method Description
BigEndianStream ( Stream stream ) : System
Close ( ) : void
Flush ( ) : void
FlushAsync ( CancellationToken token ) : Task
GetBuffer ( ) : byte[]
Peek ( ) : int
PeekAsync ( ) : Task
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadBoolean ( ) : bool
ReadBooleanAsync ( ) : Task
ReadByteAsync ( ) : Task
ReadBytes ( int count ) : byte[]
ReadBytesAsync ( int count ) : Task
ReadDouble ( ) : double
ReadDoubleAsync ( ) : Task
ReadDoublePacked ( ) : double
ReadDoublePackedAsync ( ) : Task
ReadInt16 ( ) : short
ReadInt16Async ( ) : Task
ReadInt32 ( ) : int
ReadInt32Async ( ) : Task
ReadInt64 ( ) : long
ReadInt64Async ( ) : Task
ReadSingle ( ) : float
ReadSingleAsync ( ) : Task
ReadString16 ( ) : string
ReadString16Async ( ) : Task
ReadString8 ( ) : string
ReadString8Async ( ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( bool data ) : void
Write ( byte data ) : void
Write ( byte buffer, int offset, int count ) : void
Write ( double data ) : void
Write ( float data ) : void
Write ( int data ) : void
Write ( long data ) : void
Write ( short data ) : void
Write ( string data ) : void
Write8 ( string data ) : void
Write8Async ( string data ) : Task
WriteAsync ( bool data ) : Task
WriteAsync ( byte data ) : Task
WriteAsync ( byte buffer, int offset, int count, CancellationToken token ) : Task
WriteAsync ( double data ) : Task
WriteAsync ( float data ) : Task
WriteAsync ( int data ) : Task
WriteAsync ( long data ) : Task
WriteAsync ( short data ) : Task
WriteAsync ( string data ) : Task
WriteDoublePacked ( double value ) : void
WriteDoublePackedAsync ( double value ) : Task

Private Methods

Method Description
ReadByte ( ) : byte

Method Details

BigEndianStream() public method

public BigEndianStream ( Stream stream ) : System
stream Stream
return System

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

FlushAsync() public method

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

GetBuffer() public method

public GetBuffer ( ) : byte[]
return byte[]

Peek() public method

public Peek ( ) : int
return int

PeekAsync() public method

public PeekAsync ( ) : Task
return Task

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, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return Task

ReadBoolean() public method

public ReadBoolean ( ) : bool
return bool

ReadBooleanAsync() public method

public ReadBooleanAsync ( ) : Task
return Task

ReadByteAsync() public method

public ReadByteAsync ( ) : Task
return Task

ReadBytes() public method

public ReadBytes ( int count ) : byte[]
count int
return byte[]

ReadBytesAsync() public method

public ReadBytesAsync ( int count ) : Task
count int
return Task

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadDoubleAsync() public method

public ReadDoubleAsync ( ) : Task
return Task

ReadDoublePacked() public method

public ReadDoublePacked ( ) : double
return double

ReadDoublePackedAsync() public method

public ReadDoublePackedAsync ( ) : Task
return Task

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt16Async() public method

public ReadInt16Async ( ) : Task
return Task

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt32Async() public method

public ReadInt32Async ( ) : Task
return Task

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadInt64Async() public method

public ReadInt64Async ( ) : Task
return Task

ReadSingle() public method

public ReadSingle ( ) : float
return float

ReadSingleAsync() public method

public ReadSingleAsync ( ) : Task
return Task

ReadString16() public method

public ReadString16 ( ) : string
return string

ReadString16Async() public method

public ReadString16Async ( ) : Task
return Task

ReadString8() public method

public ReadString8 ( ) : string
return string

ReadString8Async() public method

public ReadString8Async ( ) : Task
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 ( bool data ) : void
data bool
return void

Write() public method

public Write ( byte data ) : void
data byte
return void

Write() public method

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

Write() public method

public Write ( double data ) : void
data double
return void

Write() public method

public Write ( float data ) : void
data float
return void

Write() public method

public Write ( int data ) : void
data int
return void

Write() public method

public Write ( long data ) : void
data long
return void

Write() public method

public Write ( short data ) : void
data short
return void

Write() public method

public Write ( string data ) : void
data string
return void

Write8() public method

public Write8 ( string data ) : void
data string
return void

Write8Async() public method

public Write8Async ( string data ) : Task
data string
return Task

WriteAsync() public method

public WriteAsync ( bool data ) : Task
data bool
return Task

WriteAsync() public method

public WriteAsync ( byte data ) : Task
data byte
return Task

WriteAsync() public method

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

WriteAsync() public method

public WriteAsync ( double data ) : Task
data double
return Task

WriteAsync() public method

public WriteAsync ( float data ) : Task
data float
return Task

WriteAsync() public method

public WriteAsync ( int data ) : Task
data int
return Task

WriteAsync() public method

public WriteAsync ( long data ) : Task
data long
return Task

WriteAsync() public method

public WriteAsync ( short data ) : Task
data short
return Task

WriteAsync() public method

public WriteAsync ( string data ) : Task
data string
return Task

WriteDoublePacked() public method

public WriteDoublePacked ( double value ) : void
value double
return void

WriteDoublePackedAsync() public method

public WriteDoublePackedAsync ( double value ) : Task
value double
return Task