BitReader Class |
[This is preliminary documentation and is subject to change.]
Namespace: MLAPI.Serialization
The BitReader 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.) | |
| ReadBit |
Reads a single bit
| |
| ReadBits |
Read a certain amount of bits from the stream.
| |
| ReadBool |
Reads a single bit
| |
| ReadByte |
Reads a single byte
| |
| ReadByteArray | ||
| ReadByteArrayDiff | ||
| ReadByteBits |
Read a certain amount of bits from the stream.
| |
| ReadByteDirect |
Reads a byte
| |
| ReadChar |
Read a single character from the stream
| |
| ReadCharPacked |
Read a varint two-byte character from the stream.
| |
| ReadColor |
Read a Color from the stream.
| |
| ReadColor32 |
Read a Color32 from the stream.
| |
| ReadColorPacked |
Read a Color from the stream.
| |
| ReadDouble |
Read a double-precision floating point value from the stream.
| |
| ReadDoubleArray | ||
| ReadDoubleArrayDiff | ||
| ReadDoubleArrayPacked | ||
| ReadDoubleArrayPackedDiff | ||
| ReadDoublePacked |
Read a double-precision floating point value from the stream as a varint
| |
| ReadFloatArray | ||
| ReadFloatArrayDiff | ||
| ReadFloatArrayPacked | ||
| ReadFloatArrayPackedDiff | ||
| ReadInt16 |
Read a signed short (Int16) from the stream.
| |
| ReadInt16Packed |
Read a ZigZag encoded varint signed short (Int16) from the stream.
| |
| ReadInt32 |
Read a signed int (Int32) from the stream.
| |
| ReadInt32Packed |
Read a ZigZag encoded varint signed int (Int32) from the stream.
| |
| ReadInt64 |
Read a signed long (Int64) from the stream.
| |
| ReadInt64Packed |
Read a ZigZag encoded varint signed long(Int64) from the stream.
| |
| ReadIntArray | ||
| ReadIntArrayDiff | ||
| ReadIntArrayPacked | ||
| ReadIntArrayPackedDiff | ||
| ReadLongArray | ||
| ReadLongArrayDiff | ||
| ReadLongArrayPacked | ||
| ReadLongArrayPackedDiff | ||
| ReadNibble |
Read a nibble (4 bits) from the stream.
| |
| ReadNibble(Boolean) |
Read a nibble (4 bits) from the stream.
| |
| ReadObjectPacked |
Reads a single boxed object of a given type in a packed format
| |
| ReadRangedDouble |
read a double-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.
| |
| ReadRangedSingle |
Read a single-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.
| |
| ReadRay |
Read a Ray from the stream.
| |
| ReadRayPacked |
Read a Ray from the stream.
| |
| ReadRotation |
Read a rotation from the stream.
| |
| ReadSByte |
Reads a signed byte
| |
| ReadShortArray | ||
| ReadShortArrayDiff | ||
| ReadShortArrayPacked | ||
| ReadShortArrayPackedDiff | ||
| ReadSingle |
Read a single-precision floating point value from the stream.
| |
| ReadSinglePacked |
Read a single-precision floating point value from the stream from a varint
| |
| ReadString(Boolean) | ||
| ReadString(StringBuilder, Boolean) | ||
| ReadStringDiff(String, Boolean) | ||
| ReadStringDiff(StringBuilder, Boolean) | ||
| ReadStringDiff(StringBuilder, String, Boolean) | ||
| ReadStringPacked | ||
| ReadStringPackedDiff(String) | ||
| ReadStringPackedDiff(StringBuilder) | ||
| ReadStringPackedDiff(StringBuilder, String) | ||
| ReadUInt16 |
Read an unsigned short (UInt16) from the stream.
| |
| ReadUInt16Packed |
Read a varint unsigned short (UInt16) from the stream.
| |
| ReadUInt32 |
Read an unsigned int (UInt32) from the stream.
| |
| ReadUInt32Packed |
Read a varint unsigned int (UInt32) from the stream.
| |
| ReadUInt64 |
Read an unsigned long (UInt64) from the stream.
| |
| ReadUInt64Packed |
Read a varint unsigned long (UInt64) from the stream.
| |
| ReadUIntArray | ||
| ReadUIntArrayDiff | ||
| ReadUIntArrayPacked | ||
| ReadULongArray | ||
| ReadULongArrayDiff | ||
| ReadULongArrayPacked | ||
| ReadULongArrayPackedDiff | ||
| ReadUShortArray | ||
| ReadUShortArrayDiff | ||
| ReadUShortArrayPacked | ||
| ReadUShortArrayPackedDiff | ||
| ReadVector2 |
Read a Vector2 from the stream.
| |
| ReadVector2Packed |
Read a Vector2 from the stream.
| |
| ReadVector3 |
Read a Vector3 from the stream.
| |
| ReadVector3Packed |
Read a Vector3 from the stream.
| |
| ReadVector4 |
Read a Vector4 from the stream.
| |
| ReadVector4Packed |
Read a Vector4 from the stream.
| |
| SkipPadBits |
Skips pad bits and aligns the position to the next byte
| |
| ToString | (Inherited from Object.) |