LittleEndianBitConverter Class |
Namespace: Ookii.Jumbo
The LittleEndianBitConverter type exposes the following members.
Name | Description | |
---|---|---|
ToDateTime |
Reads a date and time from the specified position in a byte array.
| |
ToDecimal |
Reads a decimal value from the specified position in a byte array.
| |
ToDouble |
Reads a double-precision floating point number from the specified position in a byte array.
| |
ToInt16 |
Reads a 16-bit signed integer from the specified position in a byte array.
| |
ToInt32 |
Reads a 32-bit signed integer from the specified position in a byte array.
| |
ToInt32From7BitEncoding |
Reads in a 32-bit integer in compressed format.
| |
ToInt64 |
Reads a 64-bit signed integer from the specified position in a byte array.
| |
ToSingle |
Reads a single-precision floating point number from the specified position in a byte array.
| |
ToUInt16 |
Reads a 16-bit unsigned integer from the specified position in a byte array.
| |
ToUInt32 |
Reads a 32-bit unsigned integer from the specified position in a byte array.
| |
ToUInt64 |
Reads a 64-bit unsigned integer from the specified position in a byte array.
|
This class can be used to aid in implementing raw comparers for your record types.
Unlike the BitConverter class, this class always uses little endian formatting. It can be used to read data written by the BinaryWriter class.