Click or drag to resize

BitReader Class

[This is preliminary documentation and is subject to change.]

A BinaryReader that can do bit wise manipulation when backed by a BitStream
Inheritance Hierarchy
SystemObject
  MLAPI.SerializationBitReader

Namespace:  MLAPI.Serialization
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class BitReader
Request Example View Source

The BitReader type exposes the following members.

Constructors
  NameDescription
Public methodBitReader
Creates a new BitReader backed by a given stream
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadBit
Reads a single bit
Public methodReadBits
Read a certain amount of bits from the stream.
Public methodReadBool
Reads a single bit
Public methodReadByte
Reads a single byte
Public methodReadByteArray
Public methodReadByteArrayDiff
Public methodReadByteBits
Read a certain amount of bits from the stream.
Public methodReadByteDirect
Reads a byte
Public methodReadChar
Read a single character from the stream
Public methodReadCharPacked
Read a varint two-byte character from the stream.
Public methodReadColor
Read a Color from the stream.
Public methodReadColor32
Read a Color32 from the stream.
Public methodReadColorPacked
Read a Color from the stream.
Public methodReadDouble
Read a double-precision floating point value from the stream.
Public methodReadDoubleArray
Public methodReadDoubleArrayDiff
Public methodReadDoubleArrayPacked
Public methodReadDoubleArrayPackedDiff
Public methodReadDoublePacked
Read a double-precision floating point value from the stream as a varint
Public methodReadFloatArray
Public methodReadFloatArrayDiff
Public methodReadFloatArrayPacked
Public methodReadFloatArrayPackedDiff
Public methodReadInt16
Read a signed short (Int16) from the stream.
Public methodReadInt16Packed
Read a ZigZag encoded varint signed short (Int16) from the stream.
Public methodReadInt32
Read a signed int (Int32) from the stream.
Public methodReadInt32Packed
Read a ZigZag encoded varint signed int (Int32) from the stream.
Public methodReadInt64
Read a signed long (Int64) from the stream.
Public methodReadInt64Packed
Read a ZigZag encoded varint signed long(Int64) from the stream.
Public methodReadIntArray
Public methodReadIntArrayDiff
Public methodReadIntArrayPacked
Public methodReadIntArrayPackedDiff
Public methodReadLongArray
Public methodReadLongArrayDiff
Public methodReadLongArrayPacked
Public methodReadLongArrayPackedDiff
Public methodReadNibble
Read a nibble (4 bits) from the stream.
Public methodReadNibble(Boolean)
Read a nibble (4 bits) from the stream.
Public methodReadObjectPacked
Reads a single boxed object of a given type in a packed format
Public methodReadRangedDouble
read a double-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.
Public methodReadRangedSingle
Read a single-precision floating point value from the stream. The value is between (inclusive) the minValue and maxValue.
Public methodReadRay
Read a Ray from the stream.
Public methodReadRayPacked
Read a Ray from the stream.
Public methodReadRotation
Read a rotation from the stream.
Public methodReadSByte
Reads a signed byte
Public methodReadShortArray
Public methodReadShortArrayDiff
Public methodReadShortArrayPacked
Public methodReadShortArrayPackedDiff
Public methodReadSingle
Read a single-precision floating point value from the stream.
Public methodReadSinglePacked
Read a single-precision floating point value from the stream from a varint
Public methodReadString(Boolean)
Public methodReadString(StringBuilder, Boolean)
Public methodReadStringDiff(String, Boolean)
Public methodReadStringDiff(StringBuilder, Boolean)
Public methodReadStringDiff(StringBuilder, String, Boolean)
Public methodReadStringPacked
Public methodReadStringPackedDiff(String)
Public methodReadStringPackedDiff(StringBuilder)
Public methodReadStringPackedDiff(StringBuilder, String)
Public methodReadUInt16
Read an unsigned short (UInt16) from the stream.
Public methodReadUInt16Packed
Read a varint unsigned short (UInt16) from the stream.
Public methodReadUInt32
Read an unsigned int (UInt32) from the stream.
Public methodReadUInt32Packed
Read a varint unsigned int (UInt32) from the stream.
Public methodReadUInt64
Read an unsigned long (UInt64) from the stream.
Public methodReadUInt64Packed
Read a varint unsigned long (UInt64) from the stream.
Public methodReadUIntArray
Public methodReadUIntArrayDiff
Public methodReadUIntArrayPacked
Public methodReadULongArray
Public methodReadULongArrayDiff
Public methodReadULongArrayPacked
Public methodReadULongArrayPackedDiff
Public methodReadUShortArray
Public methodReadUShortArrayDiff
Public methodReadUShortArrayPacked
Public methodReadUShortArrayPackedDiff
Public methodReadVector2
Read a Vector2 from the stream.
Public methodReadVector2Packed
Read a Vector2 from the stream.
Public methodReadVector3
Read a Vector3 from the stream.
Public methodReadVector3Packed
Read a Vector3 from the stream.
Public methodReadVector4
Read a Vector4 from the stream.
Public methodReadVector4Packed
Read a Vector4 from the stream.
Public methodSkipPadBits
Skips pad bits and aligns the position to the next byte
Public methodToString (Inherited from Object.)
Top
See Also