Export (0) Print
Expand All

BitConverter Members

Converts base data types to an array of bytes, and an array of bytes to base data types.

The following tables list the members exposed by the BitConverter type.

  Name Description
Public field Static Supported by the .NET Compact Framework Supported by the XNA Framework IsLittleEndian Indicates the byte order ("endianess") in which data is stored in this computer architecture.
Top

  Name Description
Public method Static DoubleToInt64Bits Converts the specified double-precision floating point number to a 64-bit signed integer.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework GetBytes Overloaded. Converts the specified data to an array of bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Int64BitsToDouble Converts the specified 64-bit signed integer to a double-precision floating point number.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToBoolean Returns a Boolean value converted from one byte at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToChar Returns a Unicode character converted from two bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToDouble Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToInt16 Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToInt32 Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToInt64 Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToSingle Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Overloaded. Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToUInt16 Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToUInt32 Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ToUInt64 Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
Top

Community Additions

ADD
Show:
© 2014 Microsoft