C# Класс Asgard.Core.Network.Bitstream

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Bitstream() публичный метод

public Bitstream ( NetBuffer buffer ) : System
buffer Lidgren.Network.NetBuffer
Результат System

ReadBool() публичный метод

public ReadBool ( ) : bool
Результат bool

ReadByte() публичный метод

public ReadByte ( ) : byte
Результат byte

ReadDouble() публичный метод

public ReadDouble ( ) : double
Результат double

ReadFloat() публичный метод

public ReadFloat ( ) : float
Результат float

ReadInt16() публичный метод

public ReadInt16 ( ) : short
Результат short

ReadInt32() публичный метод

public ReadInt32 ( ) : int
Результат int

ReadInt64() публичный метод

public ReadInt64 ( ) : long
Результат long

ReadSByte() публичный метод

public ReadSByte ( ) : sbyte
Результат sbyte

ReadString() публичный метод

public ReadString ( ) : string
Результат string

ReadUInt16() публичный метод

public ReadUInt16 ( ) : ushort
Результат ushort

ReadUInt32() публичный метод

public ReadUInt32 ( ) : uint
Результат uint

ReadUInt64() публичный метод

public ReadUInt64 ( ) : ulong
Результат ulong

ReadUVariable() публичный метод

public ReadUVariable ( int numOfBits ) : ulong
numOfBits int
Результат ulong

ReadVariable() публичный метод

public ReadVariable ( int numOfBits ) : long
numOfBits int
Результат long

ReadVariableInt32() публичный метод

public ReadVariableInt32 ( ) : int
Результат int

ReadVariableUInt32() публичный метод

public ReadVariableUInt32 ( ) : uint
Результат uint

ReadVector2() публичный метод

public ReadVector2 ( ) : System.Vector2
Результат System.Vector2

Write() публичный метод

public Write ( System.Vector2 data ) : void
data System.Vector2
Результат void

Write() публичный метод

public Write ( bool data ) : void
data bool
Результат void

Write() публичный метод

public Write ( byte data ) : void
data byte
Результат void

Write() публичный метод

public Write ( double data ) : void
data double
Результат void

Write() публичный метод

public Write ( float data ) : void
data float
Результат void

Write() публичный метод

public Write ( int data ) : void
data int
Результат void

Write() публичный метод

public Write ( long data ) : void
data long
Результат void

Write() публичный метод

public Write ( sbyte data ) : void
data sbyte
Результат void

Write() публичный метод

public Write ( short data ) : void
data short
Результат void

Write() публичный метод

public Write ( string data ) : void
data string
Результат void

Write() публичный метод

public Write ( uint data ) : void
data uint
Результат void

Write() публичный метод

public Write ( ulong data ) : void
data ulong
Результат void

Write() публичный метод

public Write ( ushort data ) : void
data ushort
Результат void

WriteVariable() публичный метод

public WriteVariable ( long data, int numOfBits ) : void
data long
numOfBits int
Результат void

WriteVariable() публичный метод

public WriteVariable ( ulong data, int numOfBits ) : void
data ulong
numOfBits int
Результат void

WriteVariableInt32() публичный метод

public WriteVariableInt32 ( int data ) : void
data int
Результат void

WriteVariableUInt32() публичный метод

public WriteVariableUInt32 ( uint data ) : void
data uint
Результат void