BitConverter Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The BitConverter type exposes the following members.

Methods

  Name Description
Public methodStatic memberSupported by Silverlight for Windows Phone DoubleToInt64Bits Converts the specified double-precision floating point number to a 64-bit signed integer.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Boolean) Returns the specified Boolean value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Char) Returns the specified Unicode character value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Double) Returns the specified double-precision floating point value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Int16) Returns the specified 16-bit signed integer value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Int32) Returns the specified 32-bit signed integer value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Int64) Returns the specified 64-bit signed integer value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(Single) Returns the specified single-precision floating point value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(UInt16) Returns the specified 16-bit unsigned integer value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(UInt32) Returns the specified 32-bit unsigned integer value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetBytes(UInt64) Returns the specified 64-bit unsigned integer value as an array of bytes.
Public methodStatic memberSupported by Silverlight for Windows Phone Int64BitsToDouble Converts the specified 64-bit signed integer to a double-precision floating point number.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToBoolean Returns a Boolean value converted from one byte at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar Returns a Unicode character converted from two bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToDouble Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToInt16 Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToInt32 Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToInt64 Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToSingle Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(array<Byte[]) Converts the numeric value of each element of a specified array of bytes to its equivalent hexadecimal string representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(array<Byte[], Int32) Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(array<Byte[], Int32, Int32) Converts the numeric value of each element of a specified subarray of bytes to its equivalent hexadecimal string representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToUInt16 Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToUInt32 Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToUInt64 Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.

Top