public sealed class BitConverter
|
| IsLittleEndian | Indicates the byte order ("endianess") in which data is stored in this computer architecture. |
| DoubleToInt64Bits | Converts the specified double-precision floating point number to a 64-bit signed integer. |
| Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
| GetBytes | Overloaded:GetBytes(bool value) Returns the specified Boolean value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(char value) Returns the specified Unicode character value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(double value) Returns the specified double-precision floating point value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(short value) Returns the specified 16-bit signed integer value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(int value) Returns the specified 32-bit signed integer value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(long value) Returns the specified 64-bit signed integer value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(float value) Returns the specified single-precision floating point value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(ushort value) Returns the specified 16-bit unsigned integer value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(uint value) Returns the specified 32-bit unsigned integer value as an array of bytes. |
| GetBytes | Overloaded:GetBytes(ulong value) Returns the specified 64-bit unsigned integer value as an array of bytes. |
| GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
| GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
| 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 (inherited from System.Object) |
Overloaded:ToString()See base class member description: System.Object.ToStringDerived from System.Object, the primary base class for all objects. |
| ToString | Overloaded:ToString(byte[] value) Returns a String converted from the elements of a byte array. |
| ToString | Overloaded:ToString(byte[] value, int startIndex) Returns a String converted from the elements of a byte array starting at a specified array position. |
| ToString | Overloaded:ToString(byte[] value, int startIndex, int length) Returns a String converted from a specified number of bytes at a specified position in a byte array. |
| 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. |
| Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
| MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public static readonly bool IsLittleEndian;
|
Different computer architectures store data using different byte orders. "Big-endian" means the most significant byte is on the left end of a word. "Little-endian" means the most significant byte is on the right end of a word.
value
~BitConverter(); |
value
value
value
value
value
value
value
value
value
value
public virtual int GetHashCode(); |
public Type GetType(); |
value
protected object MemberwiseClone(); |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 1. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 2. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 8. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 2. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 4. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 8. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 4. |
public virtual string ToString(); |
value
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 1. |
value
startIndex
length
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex or length is less than zero. -or- The sum of startIndex plus length is greater than the length of value. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 2. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 4. |
value
startIndex
| Exception Type | Condition |
|---|---|
| ArgumentNullException | value is null. |
| ArgumentOutOfRangeException | startIndex is less than zero or greater than the length of value minus 8. |