Export (0) Print
Expand All

BitConverter.GetBytes Method

Converts the specified data to an array of bytes.

Name Description
BitConverter.GetBytes (Boolean) Returns the specified Boolean value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (Char) Returns the specified Unicode character value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (Double) Returns the specified double-precision floating point value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (Int16) Returns the specified 16-bit signed integer value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (Int32) Returns the specified 32-bit signed integer value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (Int64) Returns the specified 64-bit signed integer value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (Single) Returns the specified single-precision floating point value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (UInt16) Returns the specified 16-bit unsigned integer value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (UInt32) Returns the specified 32-bit unsigned integer value as an array of bytes.

Supported by the .NET Compact Framework.

BitConverter.GetBytes (UInt64) Returns the specified 64-bit unsigned integer value as an array of bytes.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft