Skip to content

Latest commit

 

History

History
1314 lines (1312 loc) · 48.6 KB

File metadata and controls

1314 lines (1312 loc) · 48.6 KB
title PooledBitWriter
name PooledBitWriter
permalink /api/pooled-bit-writer/

PooledBitWriter ``class``

Namespace: MLAPI.Serialization

Assembly: MLAPI.dll

Disposable BitWriter that returns the Writer to the BitWriterPool when disposed

Public Methods

public ``void`` Dispose();

Returns the PooledBitWriter into the static BitWriterPool



Public Static Methods

public static [``PooledBitWriter``](/MLAPI/api/pooled-bit-writer/) Get(``Stream`` stream);

Gets a PooledBitWriter from the static BitWriterPool

Parameters

``Stream`` stream

Returns [``PooledBitWriter``](/MLAPI/api/pooled-bit-writer/)

PooledBitWriter



Inherited Methods

public ``void`` SetStream(``Stream`` stream);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Changes the underlying stream the writer is writing to

Parameters

``Stream`` stream

The stream to write to


public ``void`` WriteObjectPacked(``object`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a boxed object in a packed format

Parameters

``object`` value

The object to write


public ``void`` WriteSingle(``float`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write single-precision floating point value to the stream

Parameters

``float`` value

Value to write


public ``void`` WriteDouble(``double`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write double-precision floating point value to the stream

Parameters

``double`` value

Value to write


public ``void`` WriteSinglePacked(``float`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write single-precision floating point value to the stream as a varint

Parameters

``float`` value

Value to write


public ``void`` WriteDoublePacked(``double`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write double-precision floating point value to the stream as a varint

Parameters

``double`` value

Value to write


public ``void`` WriteRay(``Ray`` ray);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes two non-packed Vector3 from the ray to the stream

Parameters

``Ray`` ray

Ray to write


public ``void`` WriteRayPacked(``Ray`` ray);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes two packed Vector3 from the ray to the stream

Parameters

``Ray`` ray

Ray to write


public ``void`` WriteColor(``Color`` color);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes four non-varint floats from the color to the stream

Parameters

``Color`` color

Color to write


public ``void`` WriteColorPacked(``Color`` color);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes four varint floats from the color to the stream

Parameters

``Color`` color

Color to write


public ``void`` WriteColor32(``Color32`` color32);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes four non-varint floats from the color to the stream

Parameters

``Color32`` color32

Color32 to write


public ``void`` WriteVector2(``Vector2`` vector2);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes two non-varint floats from the vector to the stream

Parameters

``Vector2`` vector2

Vector to write


public ``void`` WriteVector2Packed(``Vector2`` vector2);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes two varint floats from the vector to the stream

Parameters

``Vector2`` vector2

Vector to write


public ``void`` WriteVector3(``Vector3`` vector3);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes three non-varint floats from the vector to the stream

Parameters

``Vector3`` vector3

Vector to write


public ``void`` WriteVector3Packed(``Vector3`` vector3);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes three varint floats from the vector to the stream

Parameters

``Vector3`` vector3

Vector to write


public ``void`` WriteVector4(``Vector4`` vector4);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes four non-varint floats from the vector to the stream

Parameters

``Vector4`` vector4

Vector to write


public ``void`` WriteVector4Packed(``Vector4`` vector4);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Convenience method that writes four varint floats from the vector to the stream

Parameters

``Vector4`` vector4

Vector to write


public ``void`` WriteRangedSingle(``float`` value, ``float`` minValue, ``float`` maxValue, ``int`` bytes);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

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

Parameters

``float`` value

Value to write

``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 result should occupy. Must be between 1 and 4 (inclusive)


public ``void`` WriteRangedDouble(``double`` value, ``double`` minValue, ``double`` maxValue, ``int`` bytes);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

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

Parameters

``double`` value

Value to write

``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 result should occupy. Must be between 1 and 8 (inclusive)


public ``void`` WriteRotation(``Quaternion`` rotation, ``int`` bytesPerAngle);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a rotation to the stream.

Parameters

``Quaternion`` rotation

Rotation to write

``int`` bytesPerAngle

How many bytes each written angle should occupy. Must be between 1 and 4 (inclusive)


public ``void`` WriteBit(``bool`` bit);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a single bit

Parameters

``bool`` bit


public ``void`` WriteBool(``bool`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a bool as a single bit

Parameters

``bool`` value


public ``void`` WritePadBits();

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes pad bits to make the underlying stream aligned


public ``void`` WriteNibble(``byte`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write the lower half (lower nibble) of a byte.

Parameters

``byte`` value

Value containing nibble to write.


public ``void`` WriteNibble(``byte`` value, ``bool`` upper);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write either the upper or lower nibble of a byte to the stream.

Parameters

``byte`` value

Value holding the nibble

``bool`` upper

Whether or not the upper nibble should be written. True to write the four high bits, else writes the four low bits.


public ``void`` WriteBits(``ulong`` value, ``int`` bitCount);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write s certain amount of bits to the stream.

Parameters

``ulong`` value

Value to get bits from.

``int`` bitCount

Amount of bits to write


public ``void`` WriteBits(``byte`` value, ``int`` bitCount);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write bits to stream.

Parameters

``byte`` value

Value to get bits from.

``int`` bitCount

Amount of bits to write.


public ``void`` WriteSByte(``sbyte`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed byte to the stream.

Parameters

``sbyte`` value

Value to write


public ``void`` WriteChar(``Char`` c);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a single character to the stream.

Parameters

``Char`` c

Character to write


public ``void`` WriteUInt16(``ushort`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write an unsigned short (UInt16) to the stream.

Parameters

``ushort`` value

Value to write


public ``void`` WriteInt16(``short`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed short (Int16) to the stream.

Parameters

``short`` value

Value to write


public ``void`` WriteUInt32(``uint`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write an unsigned int (UInt32) to the stream.

Parameters

``uint`` value

Value to write


public ``void`` WriteInt32(``int`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed int (Int32) to the stream.

Parameters

``int`` value

Value to write


public ``void`` WriteUInt64(``ulong`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write an unsigned long (UInt64) to the stream.

Parameters

``ulong`` value

Value to write


public ``void`` WriteInt64(``long`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed long (Int64) to the stream.

Parameters

``long`` value

Value to write


public ``void`` WriteInt16Packed(``short`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed short (Int16) as a ZigZag encoded varint to the stream.

Parameters

``short`` value

Value to write


public ``void`` WriteUInt16Packed(``ushort`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write an unsigned short (UInt16) as a varint to the stream.

Parameters

``ushort`` value

Value to write


public ``void`` WriteCharPacked(``Char`` c);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a two-byte character as a varint to the stream.

Parameters

``Char`` c

Value to write


public ``void`` WriteInt32Packed(``int`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed int (Int32) as a ZigZag encoded varint to the stream.

Parameters

``int`` value

Value to write


public ``void`` WriteUInt32Packed(``uint`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write an unsigned int (UInt32) as a varint to the stream.

Parameters

``uint`` value

Value to write


public ``void`` WriteInt64Packed(``long`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a signed long (Int64) as a ZigZag encoded varint to the stream.

Parameters

``long`` value

Value to write


public ``void`` WriteUInt64Packed(``ulong`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write an unsigned long (UInt64) as a varint to the stream.

Parameters

``ulong`` value

Value to write


public ``void`` WriteByte(``byte`` value);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Write a byte to the stream.

Parameters

``byte`` value

Value to write


public ``void`` WriteString(``string`` s, ``bool`` oneByteChars);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a string

Parameters

``string`` s

The string to write

``bool`` oneByteChars

Wheter or not to use one byte per character. This will only allow ASCII


public ``void`` WriteStringPacked(``string`` s);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a string in a packed format

Parameters

``string`` s


public ``void`` WriteStringDiff(``string`` write, ``string`` compare, ``bool`` oneByteChars);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two strings

Parameters

``string`` write

The new array

``string`` compare

The previous array to use for diff

``bool`` oneByteChars

Wheter or not to use single byte chars. This will only allow ASCII characters


public ``void`` WriteStringPackedDiff(``string`` write, ``string`` compare);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two strings in a packed format

Parameters

``string`` write

The new string

``string`` compare

The previous string to use for diff


public ``void`` WriteByteArray(``byte[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a byte array

Parameters

``byte[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteByteArrayDiff(``byte[]`` write, ``byte[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two byte arrays

Parameters

``byte[]`` write

The new array

``byte[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteShortArray(``short[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a short array

Parameters

``short[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteShortArrayDiff(``short[]`` write, ``short[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two short arrays

Parameters

``short[]`` write

The new array

``short[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteUShortArray(``ushort[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a ushort array

Parameters

``ushort[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteUShortArrayDiff(``ushort[]`` write, ``ushort[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two ushort arrays

Parameters

``ushort[]`` write

The new array

``ushort[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteCharArray(``Char[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a char array

Parameters

``Char[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteCharArrayDiff(``Char[]`` write, ``Char[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two char arrays

Parameters

``Char[]`` write

The new array

``Char[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteIntArray(``int[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a int array

Parameters

``int[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteIntArrayDiff(``int[]`` write, ``int[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two int arrays

Parameters

``int[]`` write

The new array

``int[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteUIntArray(``uint[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a uint array

Parameters

``uint[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteUIntArrayDiff(``uint[]`` write, ``uint[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two uint arrays

Parameters

``uint[]`` write

The new array

``uint[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteLongArray(``long[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a long array

Parameters

``long[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteLongArrayDiff(``long[]`` write, ``long[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two long arrays

Parameters

``long[]`` write

The new array

``long[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteULongArray(``ulong[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a ulong array

Parameters

``ulong[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteULongArrayDiff(``ulong[]`` write, ``ulong[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two ulong arrays

Parameters

``ulong[]`` write

The new array

``ulong[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteFloatArray(``float[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a float array

Parameters

``float[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteFloatArrayDiff(``float[]`` write, ``float[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two float arrays

Parameters

``float[]`` write

The new array

``float[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteDoubleArray(``double[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a double array

Parameters

``double[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteDoubleArrayDiff(``double[]`` write, ``double[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two double arrays

Parameters

``double[]`` write

The new array

``double[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteArrayPacked(``Array`` a, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes an array in a packed format

Parameters

``Array`` a

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteArrayPackedDiff(``Array`` write, ``Array`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two arrays in a packed format

Parameters

``Array`` write

The new array

``Array`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteShortArrayPacked(``short[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a short array in a packed format

Parameters

``short[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteShortArrayPackedDiff(``short[]`` write, ``short[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two short arrays in a packed format

Parameters

``short[]`` write

The new array

``short[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteUShortArrayPacked(``ushort[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a ushort array in a packed format

Parameters

``ushort[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteUShortArrayPackedDiff(``ushort[]`` write, ``ushort[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two ushort arrays in a packed format

Parameters

``ushort[]`` write

The new array

``ushort[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteCharArrayPacked(``Char[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a char array in a packed format

Parameters

``Char[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteCharArrayPackedDiff(``Char[]`` write, ``Char[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two char arrays in a packed format

Parameters

``Char[]`` write

The new array

``Char[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteIntArrayPacked(``int[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a int array in a packed format

Parameters

``int[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteIntArrayPackedDiff(``int[]`` write, ``int[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two int arrays

Parameters

``int[]`` write

The new array

``int[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteUIntArrayPacked(``uint[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a uint array in a packed format

Parameters

``uint[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteUIntArrayPackedDiff(``uint[]`` write, ``uint[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two uing arrays in a packed format

Parameters

``uint[]`` write

The new array

``uint[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteLongArrayPacked(``long[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a long array in a packed format

Parameters

``long[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteLongArrayPackedDiff(``long[]`` write, ``long[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two long arrays in a packed format

Parameters

``long[]`` write

The new array

``long[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteULongArrayPacked(``ulong[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a ulong array in a packed format

Parameters

``ulong[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteULongArrayPackedDiff(``ulong[]`` write, ``ulong[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two ulong arrays in a packed format

Parameters

``ulong[]`` write

The new array

``ulong[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteFloatArrayPacked(``float[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a float array in a packed format

Parameters

``float[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteFloatArrayPackedDiff(``float[]`` write, ``float[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two float arrays in a packed format

Parameters

``float[]`` write

The new array

``float[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``void`` WriteDoubleArrayPacked(``double[]`` b, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes a double array in a packed format

Parameters

``double[]`` b

The array to write

``long`` count

The amount of elements to write


public ``void`` WriteDoubleArrayPackedDiff(``double[]`` write, ``double[]`` compare, ``long`` count);

Inherited from: [``BitWriter``](/MLAPI/api/bit-writer/)

Writes the diff between two double arrays in a packed format

Parameters

``double[]`` write

The new array

``double[]`` compare

The previous array to use for diff

``long`` count

The amount of elements to write


public ``bool`` Equals(``object`` obj);

Inherited from: ``object``
Parameters

``object`` obj


public ``int`` GetHashCode();

Inherited from: ``object``

public ``Type`` GetType();

Inherited from: ``object``

public ``string`` ToString();

Inherited from: ``object``