Skip to main content

ReadStream

ReadStream

Static Methods

ConvertUIntToNegativeOneInt

int ConvertUIntToNegativeOneInt(uint value)

Vector2FromBytes

Vector2 Vector2FromBytes(byte[] buffer, int offset = 0)

Vector3FromBytes

Vector3 Vector3FromBytes(byte[] buffer, int offset = 0)

QuaternionFromBytes

Quaternion QuaternionFromBytes(byte[] buffer, int offset = 0)

ColorFromBytes

Color ColorFromBytes(byte[] buffer, int offset = 0)

BytesToFloat

float BytesToFloat(byte[] buffer, Int32& offset)

Fields

recursionLevelLimit

public uint recursionLevelLimit

Methods

DeserializeModel

void DeserializeModel(IStreamReader model, StreamContext context)

ReadNextPropertyID

bool ReadNextPropertyID(UInt32& propertyID)

ReadNextPropertyID

bool ReadNextPropertyID(UInt32& propertyID, WireType& wireType)

ReadNull

void ReadNull()

ReadBool

bool ReadBool()

ReadByte

byte ReadByte()

ReadSByte

sbyte ReadSByte()

ReadUShort

ushort ReadUShort()

ReadShort

short ReadShort()

ReadUInt

uint ReadUInt()

ReadInt

int ReadInt()

ReadULong

ulong ReadULong()

ReadLong

long ReadLong()

ReadVarint32

uint ReadVarint32()

ReadVarint64

ulong ReadVarint64()

ReadFloat

float ReadFloat()

ReadDouble

double ReadDouble()

ReadBytes

byte[] ReadBytes()

ReadBytes

int ReadBytes(byte[] buffer, int offset, int maxLength)

ReadString

string ReadString()

ReadModel

void ReadModel(IStreamReader value, StreamContext context, bool didForceWriteFullModel = false)

ReadModelAsReadBuffer

ReadBuffer ReadModelAsReadBuffer()

ReadCollectionTypeID

uint ReadCollectionTypeID()

ReadCollection

void ReadCollection(IStreamReader value, StreamContext context, bool didForceWriteFullModel = false)

SkipProperty

void SkipProperty()

StartLengthDelimitedStruct

void StartLengthDelimitedStruct()

ReadStructBytes

byte[] ReadStructBytes()

ReadStructBytes

void ReadStructBytes(Byte[]& buffer)

ReadStructBool

bool ReadStructBool()

ReadStructByte

byte ReadStructByte()

ReadStructSByte

sbyte ReadStructSByte()

ReadStructShort

short ReadStructShort()

ReadStructUShort

ushort ReadStructUShort()

ReadStructInt

int ReadStructInt()

ReadStructUInt

uint ReadStructUInt()

ReadStructLong

long ReadStructLong()

ReadStructULong

ulong ReadStructULong()

ReadStructFloat

float ReadStructFloat()

ReadStructDouble

double ReadStructDouble()

ReadStructString

string ReadStructString()

FinishLengthDelimitedStruct

void FinishLengthDelimitedStruct()