C# Class Asgard.Core.Network.Bitstream

ファイルを表示 Open project: enBask/Asgard Class Usage Examples

Public Methods

Method Description
Bitstream ( NetBuffer buffer ) : System
ReadBool ( ) : bool
ReadByte ( ) : byte
ReadDouble ( ) : double
ReadFloat ( ) : float
ReadInt16 ( ) : short
ReadInt32 ( ) : int
ReadInt64 ( ) : long
ReadSByte ( ) : sbyte
ReadString ( ) : string
ReadUInt16 ( ) : ushort
ReadUInt32 ( ) : uint
ReadUInt64 ( ) : ulong
ReadUVariable ( int numOfBits ) : ulong
ReadVariable ( int numOfBits ) : long
ReadVariableInt32 ( ) : int
ReadVariableUInt32 ( ) : uint
ReadVector2 ( ) : System.Vector2
Write ( System.Vector2 data ) : void
Write ( bool data ) : void
Write ( byte data ) : void
Write ( double data ) : void
Write ( float data ) : void
Write ( int data ) : void
Write ( long data ) : void
Write ( sbyte data ) : void
Write ( short data ) : void
Write ( string data ) : void
Write ( uint data ) : void
Write ( ulong data ) : void
Write ( ushort data ) : void
WriteVariable ( long data, int numOfBits ) : void
WriteVariable ( ulong data, int numOfBits ) : void
WriteVariableInt32 ( int data ) : void
WriteVariableUInt32 ( uint data ) : void

Method Details

Bitstream() public method

public Bitstream ( NetBuffer buffer ) : System
buffer Lidgren.Network.NetBuffer
return System

ReadBool() public method

public ReadBool ( ) : bool
return bool

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInt16() public method

public ReadInt16 ( ) : short
return short

ReadInt32() public method

public ReadInt32 ( ) : int
return int

ReadInt64() public method

public ReadInt64 ( ) : long
return long

ReadSByte() public method

public ReadSByte ( ) : sbyte
return sbyte

ReadString() public method

public ReadString ( ) : string
return string

ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort

ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint

ReadUInt64() public method

public ReadUInt64 ( ) : ulong
return ulong

ReadUVariable() public method

public ReadUVariable ( int numOfBits ) : ulong
numOfBits int
return ulong

ReadVariable() public method

public ReadVariable ( int numOfBits ) : long
numOfBits int
return long

ReadVariableInt32() public method

public ReadVariableInt32 ( ) : int
return int

ReadVariableUInt32() public method

public ReadVariableUInt32 ( ) : uint
return uint

ReadVector2() public method

public ReadVector2 ( ) : System.Vector2
return System.Vector2

Write() public method

public Write ( System.Vector2 data ) : void
data System.Vector2
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 ( 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 ( sbyte data ) : void
data sbyte
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

Write() public method

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

Write() public method

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

Write() public method

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

WriteVariable() public method

public WriteVariable ( long data, int numOfBits ) : void
data long
numOfBits int
return void

WriteVariable() public method

public WriteVariable ( ulong data, int numOfBits ) : void
data ulong
numOfBits int
return void

WriteVariableInt32() public method

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

WriteVariableUInt32() public method

public WriteVariableUInt32 ( uint data ) : void
data uint
return void