NetworkedBehaviour NetworkedObject NetworkingManager RpcMethod RpcMethod<T1> RpcMethod<T1,T2> RpcMethod<T1,T2,T3> RpcMethod<T1,T2,T3,T4> RpcMethod<T1,T2,T3,T4,T5> RpcMethod<T1,T2,T3,T4,T5,T6> RpcMethod<T1,T2,T3,T4,T5,T6,T7> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31> RpcMethod<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32> ResponseRpcMethod<TResult> ResponseRpcMethod<TResult,T1> ResponseRpcMethod<TResult,T1,T2> ResponseRpcMethod<TResult,T1,T2,T3> ResponseRpcMethod<TResult,T1,T2,T3,T4> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31> ResponseRpcMethod<TResult,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32> VisibilityDelegate ConnectionApprovedDelegate CustomMessageDelegete

BitReader class

Namespace: MLAPI.Serialization

Assembly: MLAPI.dll

A BinaryReader that can do bit wise manipulation when backed by a BitStream

Public Constructors

public BitReader(Stream stream);

Creates a new BitReader backed by a given stream

Parameters

Stream stream

The stream to read from


Public Methods

public double[] ReadDoubleArray(double[] readTo, long knownLength);

Read double array from the stream.

Parameters

double[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns double[]

The array read from the stream.


public double[] ReadDoubleArrayPacked(double[] readTo, long knownLength);

Read double array in a packed format from the stream.

Parameters

double[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns double[]

The array read from the stream.


public double[] ReadDoubleArrayDiff(double[] readTo, long knownLength);

Read double array diff from the stream.

Parameters

double[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns double[]

The array created from the diff and the current version.


public double[] ReadDoubleArrayPackedDiff(double[] readTo, long knownLength);

Read double array diff in a packed format from the stream.

Parameters

double[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns double[]

The array created from the diff and the current version.


public void SetStream(Stream stream);

Changes the underlying stream the reader is reading from

Parameters

Stream stream

The stream to read from


public int ReadByte();

Reads a single byte

Returns int

The byte read as an integer


public byte ReadByteDirect();

Reads a byte

Returns byte

The byte read


public bool ReadBit();

Reads a single bit

Returns bool

The bit read


public bool ReadBool();

Reads a single bit

Returns bool

The bit read


public void SkipPadBits();

Skips pad bits and aligns the position to the next byte


public object ReadObjectPacked(Type type);

Reads a single boxed object of a given type in a packed format

Parameters

Type type

The type to read

Returns object

Returns the boxed read object


public float ReadSingle();

Read a single-precision floating point value from the stream.

Returns float

The read value


public double ReadDouble();

Read a double-precision floating point value from the stream.

Returns double

The read value


public float ReadSinglePacked();

Read a single-precision floating point value from the stream from a varint

Returns float

The read value


public double ReadDoublePacked();

Read a double-precision floating point value from the stream as a varint

Returns double

The read value


public Vector2 ReadVector2();

Read a Vector2 from the stream.

Returns Vector2

The Vector2 read from the stream.


public Vector2 ReadVector2Packed();

Read a Vector2 from the stream.

Returns Vector2

The Vector2 read from the stream.


public Vector3 ReadVector3();

Read a Vector3 from the stream.

Returns Vector3

The Vector3 read from the stream.


public Vector3 ReadVector3Packed();

Read a Vector3 from the stream.

Returns Vector3

The Vector3 read from the stream.


public Vector4 ReadVector4();

Read a Vector4 from the stream.

Returns Vector4

The Vector4 read from the stream.


public Vector4 ReadVector4Packed();

Read a Vector4 from the stream.

Returns Vector4

The Vector4 read from the stream.


public Color ReadColor();

Read a Color from the stream.

Returns Color

The Color read from the stream.


public Color ReadColorPacked();

Read a Color from the stream.

Returns Color

The Color read from the stream.


public Color32 ReadColor32();

Read a Color32 from the stream.

Returns Color32

The Color32 read from the stream.


public Ray ReadRay();

Read a Ray from the stream.

Returns Ray

The Ray read from the stream.


public Ray ReadRayPacked();

Read a Ray from the stream.

Returns Ray

The Ray read from the stream.


public float ReadRangedSingle(float minValue, float maxValue, int bytes);

Read a single-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.

Parameters

float minValue

Minimum value that this value could be

float maxValue

Maximum possible value that this could be

int bytes

How many bytes the compressed value occupies. Must be between 1 and 4 (inclusive)

Returns float

The read value


public double ReadRangedDouble(double minValue, double maxValue, int bytes);

read a double-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.

Parameters

double minValue

Minimum value that this value could be

double maxValue

Maximum possible value that this could be

int bytes

How many bytes the compressed value occupies. Must be between 1 and 8 (inclusive)

Returns double

The read value


public Quaternion ReadRotationPacked();

Reads the rotation from the stream

Returns Quaternion

The rotation read from the stream


public Quaternion ReadRotation(int bytesPerAngle); Obsolete

Reads the rotation from the stream

Parameters

int bytesPerAngle

Returns Quaternion

The rotation read from the stream


public Quaternion ReadRotation();

Reads the rotation from the stream

Returns Quaternion

The rotation read from the stream


public ulong ReadBits(int bitCount);

Read a certain amount of bits from the stream.

Parameters

int bitCount

How many bits to read. Minimum 0, maximum 8.

Returns ulong

The bits that were read


public byte ReadByteBits(int bitCount);

Read a certain amount of bits from the stream.

Parameters

int bitCount

How many bits to read. Minimum 0, maximum 64.

Returns byte

The bits that were read


public byte ReadNibble(bool asUpper);

Read a nibble (4 bits) from the stream.

Parameters

bool asUpper

Whether or not the nibble should be left-shifted by 4 bits

Returns byte

The nibble that was read


public byte ReadNibble();

Read a nibble (4 bits) from the stream.

Returns byte

The nibble that was read


public sbyte ReadSByte();

Reads a signed byte

Returns sbyte

Value read from stream.


public ushort ReadUInt16();

Read an unsigned short (UInt16) from the stream.

Returns ushort

Value read from stream.


public short ReadInt16();

Read a signed short (Int16) from the stream.

Returns short

Value read from stream.


public Char ReadChar();

Read a single character from the stream

Returns Char

Value read from stream.


public uint ReadUInt32();

Read an unsigned int (UInt32) from the stream.

Returns uint

Value read from stream.


public int ReadInt32();

Read a signed int (Int32) from the stream.

Returns int

Value read from stream.


public ulong ReadUInt64();

Read an unsigned long (UInt64) from the stream.

Returns ulong

Value read from stream.


public long ReadInt64();

Read a signed long (Int64) from the stream.

Returns long

Value read from stream.


public short ReadInt16Packed();

Read a ZigZag encoded varint signed short (Int16) from the stream.

Returns short

Decoded un-varinted value.


public ushort ReadUInt16Packed();

Read a varint unsigned short (UInt16) from the stream.

Returns ushort

Un-varinted value.


public Char ReadCharPacked();

Read a varint two-byte character from the stream.

Returns Char

Un-varinted value.


public int ReadInt32Packed();

Read a ZigZag encoded varint signed int (Int32) from the stream.

Returns int

Decoded un-varinted value.


public uint ReadUInt32Packed();

Read a varint unsigned int (UInt32) from the stream.

Returns uint

Un-varinted value.


public long ReadInt64Packed();

Read a ZigZag encoded varint signed long(Int64) from the stream.

Returns long

Decoded un-varinted value.


public ulong ReadUInt64Packed();

Read a varint unsigned long (UInt64) from the stream.

Returns ulong

Un-varinted value.


public StringBuilder ReadString(bool oneByteChars);

Read a string from the stream.

Parameters

bool oneByteChars

If set to true one byte chars are used and only ASCII is supported.

Returns StringBuilder

The string that was read.


public StringBuilder ReadString(StringBuilder builder, bool oneByteChars);

Read a string from the stream.

Parameters

StringBuilder builder

The builder to read the values into or null to use a new builder.

bool oneByteChars

If set to true one byte chars are used and only ASCII is supported.

Returns StringBuilder

The string that was read.


public StringBuilder ReadStringPacked(StringBuilder builder);

Read string encoded as a varint from the stream.

Parameters

StringBuilder builder

The builder to read the string into or null to use a new builder

Returns StringBuilder

The string that was read.


public StringBuilder ReadStringDiff(string compare, bool oneByteChars);

Read string diff from the stream.

Parameters

string compare

The version to compare the diff to.

bool oneByteChars

If set to true one byte chars are used and only ASCII is supported.

Returns StringBuilder

The string based on the diff and the old version.


public StringBuilder ReadStringDiff(StringBuilder builder, string compare, bool oneByteChars);

Read string diff from the stream.

Parameters

StringBuilder builder

The builder to read the string into or null to use a new builder.

string compare

The version to compare the diff to.

bool oneByteChars

If set to true one byte chars are used and only ASCII is supported.

Returns StringBuilder

The string based on the diff and the old version


public StringBuilder ReadStringDiff(StringBuilder compareAndBuffer, bool oneByteChars);

Read string diff from the stream.

Parameters

StringBuilder compareAndBuffer

The builder containing the current version and that will also be used as the output buffer.

bool oneByteChars

If set to true one byte chars will be used and only ASCII will be supported.

Returns StringBuilder

The string based on the diff and the old version.


public StringBuilder ReadStringPackedDiff(string compare);

Read string diff encoded as varints from the stream.

Parameters

string compare

The version to compare the diff to.

Returns StringBuilder

The string based on the diff and the old version.


public StringBuilder ReadStringPackedDiff(StringBuilder builder, string compare);

Read string diff encoded as varints from the stream.

Parameters

StringBuilder builder

The builder to read the string into or null to use a new builder.

string compare

The version to compare the diff to.

Returns StringBuilder

The string based on the diff and the old version


public StringBuilder ReadStringPackedDiff(StringBuilder compareAndBuffer);

Read string diff encoded as varints from the stream.

Parameters

StringBuilder compareAndBuffer

The builder containing the current version and that will also be used as the output buffer.

Returns StringBuilder

The string based on the diff and the old version.


public byte[] ReadByteArray(byte[] readTo, long knownLength);

Read byte array into an optional buffer from the stream.

Parameters

byte[] readTo

The array to read into. If the array is not large enough or if it's null. A new array is created.

long knownLength

The length of the array if it's known. Otherwise -1

Returns byte[]

The byte array that has been read.


public byte[] ReadByteArrayDiff(byte[] readTo, long knownLength);

Read byte array diff into an optional buffer from the stream.

Parameters

byte[] readTo

The buffer containing the old version or null.

long knownLength

The length of the array if it's known. Otherwise -1

Returns byte[]

The byte array created from the diff and original.


public short[] ReadShortArray(short[] readTo, long knownLength);

Read short array from the stream.

Parameters

short[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns short[]

The array read from the stream.


public short[] ReadShortArrayPacked(short[] readTo, long knownLength);

Read short array in a packed format from the stream.

Parameters

short[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns short[]

The array read from the stream.


public short[] ReadShortArrayDiff(short[] readTo, long knownLength);

Read short array diff from the stream.

Parameters

short[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns short[]

The array created from the diff and the current version.


public short[] ReadShortArrayPackedDiff(short[] readTo, long knownLength);

Read short array diff in a packed format from the stream.

Parameters

short[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns short[]

The array created from the diff and the current version.


public ushort[] ReadUShortArray(ushort[] readTo, long knownLength);

Read ushort array from the stream.

Parameters

ushort[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns ushort[]

The array read from the stream.


public ushort[] ReadUShortArrayPacked(ushort[] readTo, long knownLength);

Read ushort array in a packed format from the stream.

Parameters

ushort[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns ushort[]

The array read from the stream.


public ushort[] ReadUShortArrayDiff(ushort[] readTo, long knownLength);

Read ushort array diff from the stream.

Parameters

ushort[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns ushort[]

The array created from the diff and the current version.


public ushort[] ReadUShortArrayPackedDiff(ushort[] readTo, long knownLength);

Read ushort array diff in a packed format from the stream.

Parameters

ushort[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns ushort[]

The array created from the diff and the current version.


public int[] ReadIntArray(int[] readTo, long knownLength);

Read int array from the stream.

Parameters

int[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns int[]

The array read from the stream.


public int[] ReadIntArrayPacked(int[] readTo, long knownLength);

Read int array in a packed format from the stream.

Parameters

int[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns int[]

The array read from the stream.


public int[] ReadIntArrayDiff(int[] readTo, long knownLength);

Read int array diff from the stream.

Parameters

int[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns int[]

The array created from the diff and the current version.


public int[] ReadIntArrayPackedDiff(int[] readTo, long knownLength);

Read int array diff in a packed format from the stream.

Parameters

int[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns int[]

The array created from the diff and the current version.


public uint[] ReadUIntArray(uint[] readTo, long knownLength);

Read uint array from the stream.

Parameters

uint[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns uint[]

The array read from the stream.


public uint[] ReadUIntArrayPacked(uint[] readTo, long knownLength);

Read uint array in a packed format from the stream.

Parameters

uint[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns uint[]

The array read from the stream.


public uint[] ReadUIntArrayDiff(uint[] readTo, long knownLength);

Read uint array diff from the stream.

Parameters

uint[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns uint[]

The array created from the diff and the current version.


public long[] ReadLongArray(long[] readTo, long knownLength);

Read long array from the stream.

Parameters

long[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns long[]

The array read from the stream.


public long[] ReadLongArrayPacked(long[] readTo, long knownLength);

Read long array in a packed format from the stream.

Parameters

long[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns long[]

The array read from the stream.


public long[] ReadLongArrayDiff(long[] readTo, long knownLength);

Read long array diff from the stream.

Parameters

long[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns long[]

The array created from the diff and the current version.


public long[] ReadLongArrayPackedDiff(long[] readTo, long knownLength);

Read long array diff in a packed format from the stream.

Parameters

long[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns long[]

The array created from the diff and the current version.


public ulong[] ReadULongArray(ulong[] readTo, long knownLength);

Read ulong array from the stream.

Parameters

ulong[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns ulong[]

The array read from the stream.


public ulong[] ReadULongArrayPacked(ulong[] readTo, long knownLength);

Read ulong array in a packed format from the stream.

Parameters

ulong[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns ulong[]

The array read from the stream.


public ulong[] ReadULongArrayDiff(ulong[] readTo, long knownLength);

Read ulong array diff from the stream.

Parameters

ulong[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns ulong[]

The array created from the diff and the current version.


public ulong[] ReadULongArrayPackedDiff(ulong[] readTo, long knownLength);

Read ulong array diff in a packed format from the stream.

Parameters

ulong[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns ulong[]

The array created from the diff and the current version.


public float[] ReadFloatArray(float[] readTo, long knownLength);

Read float array from the stream.

Parameters

float[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns float[]

The array read from the stream.


public float[] ReadFloatArrayPacked(float[] readTo, long knownLength);

Read float array in a packed format from the stream.

Parameters

float[] readTo

The buffer to read into or null to create a new array

long knownLength

The known length or -1 if unknown

Returns float[]

The array read from the stream.


public float[] ReadFloatArrayDiff(float[] readTo, long knownLength);

Read float array diff from the stream.

Parameters

float[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns float[]

The array created from the diff and the current version.


public float[] ReadFloatArrayPackedDiff(float[] readTo, long knownLength);

Read float array diff in a packed format from the stream.

Parameters

float[] readTo

The buffer containing the old version or null.

long knownLength

The known length or -1 if unknown

Returns float[]

The array created from the diff and the current version.



Inherited Methods

public string ToString();

Inherited from: object

public bool Equals(object obj);

Inherited from: object
Parameters

object obj


public int GetHashCode();

Inherited from: object

public Type GetType();

Inherited from: object