This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
BitConverter Methods
The methods of the BitConverter class are listed below. For a complete list of BitConverter class members, see the BitConverter Members topic.
Public:
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetBytes |
Overloaded. Converts a specified type into an array of unsigned bytes. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
ToBoolean |
Converts an array of bytes into a Boolean value. |
ToChar |
Converts two unsigned bytes into a unicode character value. |
ToDouble |
Converts eight unsigned bytes beginning at the specified index in the specified array into a double-precision floating point number. |
ToInt16 |
Converts two unsigned bytes beginning at the specified index in the specified array into a 16-bit signed integer value. |
ToInt32 |
Converts four bytes beginning at the specified index in the specified array to a 32-bit signed integer value. |
ToInt64 |
Converts eight bytes beginning at the specified index in the specified array into a 64-bit signed integer value. |
ToSingle |
Converts four bytes beginning at the specified index in the specified array into a single-precision floating point number. |
ToString |
Overloaded. [To be supplied.] |
ToUInt16 |
Converts an array of bytes into a 16-bit unsigned integer. |
ToUInt32 |
Converts an array of bytes into a 32-bit unsigned integer. |
ToUInt64 |
Converts an array of bytes into a 64-bit unsigned integer. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
BitConverter Class | System Namespace