Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BitConverter.GetBytes Method

Converts the specified data to an array of bytes.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Boolean) Returns the specified Boolean value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Char) Returns the specified Unicode character value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Double) Returns the specified double-precision floating point value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Int16) Returns the specified 16-bit signed integer value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Int32) Returns the specified 32-bit signed integer value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Int64) Returns the specified 64-bit signed integer value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Single) Returns the specified single-precision floating point value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(UInt16) Returns the specified 16-bit unsigned integer value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(UInt32) Returns the specified 32-bit unsigned integer value as an array of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(UInt64) Returns the specified 64-bit unsigned integer value as an array of bytes.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.