Interface IOutProtocolBitStream
- Namespace
- Coherence.ProtocolDef
- Assembly
- Coherence.ProtocolDef.dll
public interface IOutProtocolBitStream
Methods
WriteBits(uint, int)
void WriteBits(uint value, int count)
Parameters
value
uint
count
int
WriteBool(bool)
Parameters
b
bool
WriteByte(byte)
void WriteByte(byte value)
Parameters
value
byte
WriteBytesList(byte[])
void WriteBytesList(byte[] data)
Parameters
data
byte[]
WriteChar(char)
void WriteChar(char value)
Parameters
value
char
void WriteColor(in Vector4 fromUnityColor, in FloatMeta forFixedPoint)
Parameters
fromUnityColor
Vector4
forFixedPoint
FloatMeta
WriteDouble(double)
void WriteDouble(double value)
Parameters
value
double
WriteEntity(Entity)
void WriteEntity(Entity e)
Parameters
e
Entity
WriteEnum(int)
Parameters
b
int
void WriteFloat(float value, in FloatMeta meta)
Parameters
value
float
meta
FloatMeta
WriteIntegerRange(int, int, int)
void WriteIntegerRange(int v, int bitCount, int offset)
Parameters
v
int
bitCount
int
offset
int
WriteLong(long)
void WriteLong(long value)
Parameters
value
long
WriteMask(bool)
Parameters
b
bool
Returns
- bool
WriteMaskBits(uint, uint)
void WriteMaskBits(uint mask, uint numBits)
Parameters
mask
uint
numBits
uint
WriteQuaternion(in Quaternion, int)
void WriteQuaternion(in Quaternion q, int bitsPerComponent)
Parameters
q
Quaternion
bitsPerComponent
int
WriteSByte(sbyte)
void WriteSByte(sbyte value)
Parameters
value
sbyte
WriteShort(short)
void WriteShort(short value)
Parameters
value
short
WriteShortString(string)
void WriteShortString(string s)
Parameters
s
string
WriteUIntegerRange(uint, int, uint)
void WriteUIntegerRange(uint v, int bitCount, uint offset)
Parameters
v
uint
bitCount
int
offset
uint
WriteULong(ulong)
void WriteULong(ulong value)
Parameters
value
ulong
WriteUShort(ushort)
void WriteUShort(ushort value)
Parameters
value
ushort
void WriteVector2(in Vector2 v, in FloatMeta meta)
Parameters
v
Vector2
meta
FloatMeta
void WriteVector3(in Vector3 v, in FloatMeta meta)
Parameters
v
Vector3
meta
FloatMeta
WriteVector3d(in Vector3d)
void WriteVector3d(in Vector3d v)
Parameters
v
Vector3d
void WriteVector4(in Vector4 v, in FloatMeta meta)
Parameters
v
Vector4
meta
FloatMeta