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

PooledBitReader class

Namespace: MLAPI.Serialization.Pooled

Assembly: MLAPI.dll

Disposable BitReader that returns the Reader to the BitReaderPool when disposed

Public Methods

public void Dispose();

Returns the PooledBitReader into the static BitReaderPool



Public Static Methods

public static PooledBitReader Get(Stream stream);

Gets a PooledBitReader from the static BitReaderPool

Parameters

Stream stream

Returns PooledBitReader

PooledBitReader



Inherited Methods

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

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

Changes the underlying stream the reader is reading from

Parameters

Stream stream

The stream to read from


public int ReadByte();

Inherited from: BitReader

Reads a single byte

Returns int

The byte read as an integer


public byte ReadByteDirect();

Inherited from: BitReader

Reads a byte

Returns byte

The byte read


public bool ReadBit();

Inherited from: BitReader

Reads a single bit

Returns bool

The bit read


public bool ReadBool();

Inherited from: BitReader

Reads a single bit

Returns bool

The bit read


public void SkipPadBits();

Inherited from: BitReader

Skips pad bits and aligns the position to the next byte


public object ReadObjectPacked(Type type);

Inherited from: BitReader

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();

Inherited from: BitReader

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

Returns float

The read value


public double ReadDouble();

Inherited from: BitReader

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

Returns double

The read value


public float ReadSinglePacked();

Inherited from: BitReader

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

Returns float

The read value


public double ReadDoublePacked();

Inherited from: BitReader

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

Returns double

The read value


public Vector2 ReadVector2();

Inherited from: BitReader

Read a Vector2 from the stream.

Returns Vector2

The Vector2 read from the stream.


public Vector2 ReadVector2Packed();

Inherited from: BitReader

Read a Vector2 from the stream.

Returns Vector2

The Vector2 read from the stream.


public Vector3 ReadVector3();

Inherited from: BitReader

Read a Vector3 from the stream.

Returns Vector3

The Vector3 read from the stream.


public Vector3 ReadVector3Packed();

Inherited from: BitReader

Read a Vector3 from the stream.

Returns Vector3

The Vector3 read from the stream.


public Vector4 ReadVector4();

Inherited from: BitReader

Read a Vector4 from the stream.

Returns Vector4

The Vector4 read from the stream.


public Vector4 ReadVector4Packed();

Inherited from: BitReader

Read a Vector4 from the stream.

Returns Vector4

The Vector4 read from the stream.


public Color ReadColor();

Inherited from: BitReader

Read a Color from the stream.

Returns Color

The Color read from the stream.


public Color ReadColorPacked();

Inherited from: BitReader

Read a Color from the stream.

Returns Color

The Color read from the stream.


public Color32 ReadColor32();

Inherited from: BitReader

Read a Color32 from the stream.

Returns Color32

The Color32 read from the stream.


public Ray ReadRay();

Inherited from: BitReader

Read a Ray from the stream.

Returns Ray

The Ray read from the stream.


public Ray ReadRayPacked();

Inherited from: BitReader

Read a Ray from the stream.

Returns Ray

The Ray read from the stream.


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

Inherited from: BitReader

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);

Inherited from: BitReader

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();

Inherited from: BitReader

Reads the rotation from the stream

Returns Quaternion

The rotation read from the stream


public Quaternion ReadRotation(int bytesPerAngle); Obsolete

Inherited from: BitReader

Reads the rotation from the stream

Parameters

int bytesPerAngle

Returns Quaternion

The rotation read from the stream


public Quaternion ReadRotation();

Inherited from: BitReader

Reads the rotation from the stream

Returns Quaternion

The rotation read from the stream


public ulong ReadBits(int bitCount);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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();

Inherited from: BitReader

Read a nibble (4 bits) from the stream.

Returns byte

The nibble that was read


public sbyte ReadSByte();

Inherited from: BitReader

Reads a signed byte

Returns sbyte

Value read from stream.


public ushort ReadUInt16();

Inherited from: BitReader

Read an unsigned short (UInt16) from the stream.

Returns ushort

Value read from stream.


public short ReadInt16();

Inherited from: BitReader

Read a signed short (Int16) from the stream.

Returns short

Value read from stream.


public Char ReadChar();

Inherited from: BitReader

Read a single character from the stream

Returns Char

Value read from stream.


public uint ReadUInt32();

Inherited from: BitReader

Read an unsigned int (UInt32) from the stream.

Returns uint

Value read from stream.


public int ReadInt32();

Inherited from: BitReader

Read a signed int (Int32) from the stream.

Returns int

Value read from stream.


public ulong ReadUInt64();

Inherited from: BitReader

Read an unsigned long (UInt64) from the stream.

Returns ulong

Value read from stream.


public long ReadInt64();

Inherited from: BitReader

Read a signed long (Int64) from the stream.

Returns long

Value read from stream.


public short ReadInt16Packed();

Inherited from: BitReader

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

Returns short

Decoded un-varinted value.


public ushort ReadUInt16Packed();

Inherited from: BitReader

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

Returns ushort

Un-varinted value.


public Char ReadCharPacked();

Inherited from: BitReader

Read a varint two-byte character from the stream.

Returns Char

Un-varinted value.


public int ReadInt32Packed();

Inherited from: BitReader

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

Returns int

Decoded un-varinted value.


public uint ReadUInt32Packed();

Inherited from: BitReader

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

Returns uint

Un-varinted value.


public long ReadInt64Packed();

Inherited from: BitReader

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

Returns long

Decoded un-varinted value.


public ulong ReadUInt64Packed();

Inherited from: BitReader

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

Returns ulong

Un-varinted value.


public StringBuilder ReadString(bool oneByteChars);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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);

Inherited from: BitReader

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.


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