[This is preliminary documentation and is subject to change.]
The BinUtils type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| GetIntDigitCount |
Returns number of digits in 32-bit integer value
| |
| ReadByte | ||
| ReadCString(Stream) |
Reads BSON cstring from stream
| |
| ReadCString(Stream, Int32) |
Reads BSON cstring from stream
| |
| ReadDouble |
Reads double from stream
| |
| ReadElementType |
Reads BSON element type from stream
| |
| ReadInt16(Stream) |
Reads 16-bit int from stream
| |
| ReadInt16( Byte , Int32) |
Reads 16-bit int from byte array
| |
| ReadInt32(Stream) |
Reads 32-bit int from stream
| |
| ReadInt32( Byte , Int32) |
Reads 32-bit int from byte array
| |
| ReadInt64(Stream) |
Reads 64-bit int from stream
| |
| ReadInt64( Byte , Int32) |
Reads 64-bit int from byte array
| |
| ReadUInt16(Stream) |
Reads unsigned 16-bit int from stream
| |
| ReadUInt16( Byte , Int32) |
Reads unsigned 16-bit int from byte array
| |
| ReadUInt24 |
Reads 24-bit int (less than 2^24) from byte array
| |
| ReadUInt32(Stream) |
Reads unsigned 32-bit int from stream
| |
| ReadUInt32( Byte , Int32) |
Reads unsigned 32-bit int from byte array
| |
| ReadUInt64(Stream) |
Reads unsigned 64-bit int from stream
| |
| ReadUInt64( Byte , Int32) |
Reads unsigned 64-bit int from byte array
| |
| WriteBinary | ||
| WriteByte |
Writes byte to stream
| |
| WriteCString |
Writes BSON cstring to stream
| |
| WriteCStringToBuffer | ||
| WriteDouble |
Writes double to stream
| |
| WriteInt16(Stream, Int16) |
Writes 16-bit int to stream
| |
| WriteInt16( Byte , Int16, Int32) |
Writes 16-bit int to byte array
| |
| WriteInt32(Stream, Int32) |
Writes 32-bit int to stream
| |
| WriteInt32( Byte , Int32, Int32) |
Writes 32bit int to byte array
| |
| WriteInt64(Stream, Int64) |
Writes 64-bit int to stream
| |
| WriteInt64( Byte , Int64, Int32) |
Writes 64-bit int to byte array
| |
| WriteTerminator |
Writes terminator 0x00 symbol to stream
| |
| WriteUInt16(Stream, UInt16) |
Writes unsigned 16-bit int to stream
| |
| WriteUInt16( Byte , UInt16, Int32) |
Writes unsigned 16-bit int to byte array
| |
| WriteUInt24 |
Writes unsigned 24bit int (less than 2^24) to byte array
| |
| WriteUInt32(Stream, UInt32) |
Writes unsigned 32-bit int to stream
| |
| WriteUInt32( Byte , UInt32, Int32) |
Writes unsigned 32bit int to byte array
| |
| WriteUInt64(Stream, UInt64) |
Writes unsigned 64-bit int to stream
| |
| WriteUInt64( Byte , UInt64, Int32) |
Writes unsigned 64-bit int to byte array
|
Fields
| Name | Description | |
|---|---|---|
| TERMINATOR |
Properties
| Name | Description | |
|---|---|---|
| UTF8Encoding |
See Also