BitWriter Class |
[This is preliminary documentation and is subject to change.]
Namespace: MLAPI.Serialization
The BitWriter type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| WriteArrayPacked |
Writes an array in a packed format
| |
| WriteArrayPackedDiff |
Writes the diff between two arrays in a packed format
| |
| WriteBit |
Writes a single bit
| |
| WriteBits(Byte, Int32) |
Write bits to stream.
| |
| WriteBits(UInt64, Int32) |
Write s certain amount of bits to the stream.
| |
| WriteBool |
Writes a bool as a single bit
| |
| WriteByte |
Write a byte to the stream.
| |
| WriteByteArray |
Writes a byte array
| |
| WriteByteArrayDiff |
Writes the diff between two byte arrays
| |
| WriteChar |
Write a single character to the stream.
| |
| WriteCharArray |
Writes a char array
| |
| WriteCharArrayDiff |
Writes the diff between two char arrays
| |
| WriteCharArrayPacked |
Writes a char array in a packed format
| |
| WriteCharArrayPackedDiff |
Writes the diff between two char arrays in a packed format
| |
| WriteCharPacked |
Write a two-byte character as a varint to the stream.
| |
| WriteColor |
Convenience method that writes four non-varint floats from the color to the stream
| |
| WriteColor32 |
Convenience method that writes four non-varint floats from the color to the stream
| |
| WriteColorPacked |
Convenience method that writes four varint floats from the color to the stream
| |
| WriteDouble |
Write double-precision floating point value to the stream
| |
| WriteDoubleArray |
Writes a double array
| |
| WriteDoubleArrayDiff |
Writes the diff between two double arrays
| |
| WriteDoubleArrayPacked |
Writes a double array in a packed format
| |
| WriteDoubleArrayPackedDiff |
Writes the diff between two double arrays in a packed format
| |
| WriteDoublePacked |
Write double-precision floating point value to the stream as a varint
| |
| WriteFloatArray |
Writes a float array
| |
| WriteFloatArrayDiff |
Writes the diff between two float arrays
| |
| WriteFloatArrayPacked |
Writes a float array in a packed format
| |
| WriteFloatArrayPackedDiff |
Writes the diff between two float arrays in a packed format
| |
| WriteInt16 |
Write a signed short (Int16) to the stream.
| |
| WriteInt16Packed |
Write a signed short (Int16) as a ZigZag encoded varint to the stream.
| |
| WriteInt32 |
Write a signed int (Int32) to the stream.
| |
| WriteInt32Packed |
Write a signed int (Int32) as a ZigZag encoded varint to the stream.
| |
| WriteInt64 |
Write a signed long (Int64) to the stream.
| |
| WriteInt64Packed |
Write a signed long (Int64) as a ZigZag encoded varint to the stream.
| |
| WriteIntArray |
Writes a int array
| |
| WriteIntArrayDiff |
Writes the diff between two int arrays
| |
| WriteIntArrayPacked |
Writes a int array in a packed format
| |
| WriteIntArrayPackedDiff |
Writes the diff between two int arrays
| |
| WriteLongArray |
Writes a long array
| |
| WriteLongArrayDiff |
Writes the diff between two long arrays
| |
| WriteLongArrayPacked |
Writes a long array in a packed format
| |
| WriteLongArrayPackedDiff |
Writes the diff between two long arrays in a packed format
| |
| WriteNibble(Byte) |
Write the lower half (lower nibble) of a byte.
| |
| WriteNibble(Byte, Boolean) |
Write either the upper or lower nibble of a byte to the stream.
| |
| WriteObjectPacked |
Writes a boxed object in a packed format
| |
| WritePadBits |
Writes pad bits to make the underlying stream aligned
| |
| WriteRangedDouble |
Write a double-precision floating point value to the stream. The value is between (inclusive) the minValue and maxValue.
| |
| WriteRangedSingle |
Write a single-precision floating point value to the stream. The value is between (inclusive) the minValue and maxValue.
| |
| WriteRay |
Convenience method that writes two non-packed Vector3 from the ray to the stream
| |
| WriteRayPacked |
Convenience method that writes two packed Vector3 from the ray to the stream
| |
| WriteRotation |
Write a rotation to the stream.
| |
| WriteSByte |
Write a signed byte to the stream.
| |
| WriteShortArray |
Writes a short array
| |
| WriteShortArrayDiff |
Writes the diff between two short arrays
| |
| WriteShortArrayPacked |
Writes a short array in a packed format
| |
| WriteShortArrayPackedDiff |
Writes the diff between two short arrays in a packed format
| |
| WriteSingle |
Write single-precision floating point value to the stream
| |
| WriteSinglePacked |
Write single-precision floating point value to the stream as a varint
| |
| WriteString |
Writes a string
| |
| WriteStringDiff |
Writes the diff between two strings
| |
| WriteStringPacked |
Writes a string in a packed format
| |
| WriteStringPackedDiff |
Writes the diff between two strings in a packed format
| |
| WriteUInt16 |
Write an unsigned short (UInt16) to the stream.
| |
| WriteUInt16Packed |
Write an unsigned short (UInt16) as a varint to the stream.
| |
| WriteUInt32 |
Write an unsigned int (UInt32) to the stream.
| |
| WriteUInt32Packed |
Write an unsigned int (UInt32) as a varint to the stream.
| |
| WriteUInt64 |
Write an unsigned long (UInt64) to the stream.
| |
| WriteUInt64Packed |
Write an unsigned long (UInt64) as a varint to the stream.
| |
| WriteUIntArray |
Writes a uint array
| |
| WriteUIntArrayDiff |
Writes the diff between two uint arrays
| |
| WriteUIntArrayPacked |
Writes a uint array in a packed format
| |
| WriteUIntArrayPackedDiff |
Writes the diff between two uing arrays in a packed format
| |
| WriteULongArray |
Writes a ulong array
| |
| WriteULongArrayDiff |
Writes the diff between two ulong arrays
| |
| WriteULongArrayPacked |
Writes a ulong array in a packed format
| |
| WriteULongArrayPackedDiff |
Writes the diff between two ulong arrays in a packed format
| |
| WriteUShortArray |
Writes a ushort array
| |
| WriteUShortArrayDiff |
Writes the diff between two ushort arrays
| |
| WriteUShortArrayPacked |
Writes a ushort array in a packed format
| |
| WriteUShortArrayPackedDiff |
Writes the diff between two ushort arrays in a packed format
| |
| WriteVector2 |
Convenience method that writes two non-varint floats from the vector to the stream
| |
| WriteVector2Packed |
Convenience method that writes two varint floats from the vector to the stream
| |
| WriteVector3 |
Convenience method that writes three non-varint floats from the vector to the stream
| |
| WriteVector3Packed |
Convenience method that writes three varint floats from the vector to the stream
| |
| WriteVector4 |
Convenience method that writes four non-varint floats from the vector to the stream
| |
| WriteVector4Packed |
Convenience method that writes four varint floats from the vector to the stream
|