Table of Contents

Interface IInProtocolBitStream

Namespace
Coherence.ProtocolDef
Assembly
Coherence.ProtocolDef.dll
public interface IInProtocolBitStream

Methods

ReadBits(int)

uint ReadBits(int count)

Parameters

count int

Returns

uint

ReadBool()

bool ReadBool()

Returns

bool

ReadByte()

byte ReadByte()

Returns

byte

ReadBytesList()

byte[] ReadBytesList()

Returns

byte[]

ReadChar()

char ReadChar()

Returns

char

ReadColor(in FloatMeta)

Vector4 ReadColor(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector4

ReadDouble()

double ReadDouble()

Returns

double

ReadEntity()

Entity ReadEntity()

Returns

Entity

ReadEnum()

int ReadEnum()

Returns

int

ReadFloat(in FloatMeta)

float ReadFloat(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

float

ReadIntegerRange(int, int)

int ReadIntegerRange(int bitCount, int offset)

Parameters

bitCount int
offset int

Returns

int

ReadLong()

long ReadLong()

Returns

long

ReadMask()

bool ReadMask()

Returns

bool

ReadMaskBits(uint)

uint ReadMaskBits(uint numBits)

Parameters

numBits uint

Returns

uint

ReadQuaternion(int)

Quaternion ReadQuaternion(int bitsPerComponent)

Parameters

bitsPerComponent int

Returns

Quaternion

ReadSByte()

sbyte ReadSByte()

Returns

sbyte

ReadShort()

short ReadShort()

Returns

short

ReadShortString()

string ReadShortString()

Returns

string

ReadUIntegerRange(int, uint)

uint ReadUIntegerRange(int bitCount, uint offset)

Parameters

bitCount int
offset uint

Returns

uint

ReadULong()

ulong ReadULong()

Returns

ulong

ReadUShort()

ushort ReadUShort()

Returns

ushort

ReadVector2(in FloatMeta)

Vector2 ReadVector2(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector2

ReadVector3(in FloatMeta)

Vector3 ReadVector3(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector3

ReadVector3d()

Vector3d ReadVector3d()

Returns

Vector3d

ReadVector4(in FloatMeta)

Vector4 ReadVector4(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector4