BitConverter Members
Converts base data types to an array of bytes, and an array of bytes to base data types.
The BitConverter type exposes the following members.
| Name | Description | |
|---|---|---|
|
DoubleToInt64Bits | Converts the specified double-precision floating point number to a 64-bit signed integer. |
|
GetBytes | Overloaded. Converts the specified data to an array of bytes. |
|
Int64BitsToDouble | Converts the specified 64-bit signed integer to a double-precision floating point number. |
|
ToBoolean | Returns a Boolean value converted from one byte at a specified position in a byte array. |
|
ToChar | Returns a Unicode character converted from two bytes at a specified position in a byte array. |
|
ToDouble | Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array. |
|
ToInt16 | Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array. |
|
ToInt32 | Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array. |
|
ToInt64 | Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array. |
|
ToSingle | Returns a single-precision floating point number converted from four bytes at a specified position in a byte array. |
|
ToString | Overloaded. Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation. |
|
ToUInt16 | Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array. |
|
ToUInt32 | Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array. |
|
ToUInt64 | Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array. |
| Name | Description | |
|---|---|---|
|
IsLittleEndian | Indicates the byte order ("endianess") in which data is stored in this computer architecture. |