Export (0) Print
Expand All

BitConverter Members

BitConverter overview

Public Fields

public fieldstatic (Shared in Visual Basic)IsLittleEndian

Supported by the .NET Compact Framework.

Indicates the byte order ("endianess") in which data is stored in this computer architecture.

Public Methods

public methodstatic (Shared in Visual Basic)DoubleToInt64Bits Converts the specified double-precision floating point number to a 64-bit signed integer.
public methodstatic (Shared in Visual Basic)GetBytes

Supported by the .NET Compact Framework.

Overloaded. Converts the specified data to an array of bytes.
public methodstatic (Shared in Visual Basic)Int64BitsToDouble Converts the specified 64-bit signed integer to a double-precision floating point number.
public methodstatic (Shared in Visual Basic)ToBoolean

Supported by the .NET Compact Framework.

Returns a Boolean value converted from one byte at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToChar

Supported by the .NET Compact Framework.

Returns a Unicode character converted from two bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToDouble

Supported by the .NET Compact Framework.

Returns a double-precision floating point number converted from eight bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToInt16

Supported by the .NET Compact Framework.

Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToInt32

Supported by the .NET Compact Framework.

Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToInt64

Supported by the .NET Compact Framework.

Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToSingle

Supported by the .NET Compact Framework.

Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToString

Supported by the .NET Compact Framework.

Overloaded. Returns a String converted from the elements of a byte array.
public methodstatic (Shared in Visual Basic)ToUInt16

Supported by the .NET Compact Framework.

Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToUInt32

Supported by the .NET Compact Framework.

Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
public methodstatic (Shared in Visual Basic)ToUInt64

Supported by the .NET Compact Framework.

Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.

See Also

BitConverter Class | System Namespace

Show:
© 2014 Microsoft