Table of Contents

Struct InProtocolBitStream

Namespace
Coherence.Serializer
Assembly
Coherence.Serializer.dll
public struct InProtocolBitStream : IInProtocolBitStream
Implements

Constructors

InProtocolBitStream(IInBitStream)

public InProtocolBitStream(IInBitStream bitStream)

Parameters

bitStream IInBitStream

Methods

ReadBits(int)

public uint ReadBits(int count)

Parameters

count int

Returns

uint

ReadBool()

public bool ReadBool()

Returns

bool

ReadByte()

public byte ReadByte()

Returns

byte

ReadBytesList()

public byte[] ReadBytesList()

Returns

byte[]

ReadChar()

public char ReadChar()

Returns

char

ReadColor(in FloatMeta)

public Vector4 ReadColor(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector4

ReadDouble()

public double ReadDouble()

Returns

double

ReadEntity()

public Entity ReadEntity()

Returns

Entity

ReadEnum()

public int ReadEnum()

Returns

int

ReadFloat(in FloatMeta)

public float ReadFloat(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

float

ReadIntegerRange(int, int)

public int ReadIntegerRange(int bitCount, int offset)

Parameters

bitCount int
offset int

Returns

int

ReadLong()

public long ReadLong()

Returns

long

ReadMask()

public bool ReadMask()

Returns

bool

ReadMaskBits(uint)

public uint ReadMaskBits(uint numBits)

Parameters

numBits uint

Returns

uint

ReadQuaternion(int)

public Quaternion ReadQuaternion(int bitsPerComponent)

Parameters

bitsPerComponent int

Returns

Quaternion

ReadSByte()

public sbyte ReadSByte()

Returns

sbyte

ReadShort()

public short ReadShort()

Returns

short

ReadShortString()

public string ReadShortString()

Returns

string

ReadUIntegerRange(int, uint)

public uint ReadUIntegerRange(int bitCount, uint offset)

Parameters

bitCount int
offset uint

Returns

uint

ReadULong()

public ulong ReadULong()

Returns

ulong

ReadUShort()

public ushort ReadUShort()

Returns

ushort

ReadVector2(in FloatMeta)

public Vector2 ReadVector2(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector2

ReadVector3(in FloatMeta)

public Vector3 ReadVector3(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector3

ReadVector3d()

public Vector3d ReadVector3d()

Returns

Vector3d

ReadVector4(in FloatMeta)

public Vector4 ReadVector4(in FloatMeta meta)

Parameters

meta FloatMeta

Returns

Vector4