BitConverter.GetBytes Method
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
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.
Overload List
Name | Description | |
---|---|---|
GetBytes(Boolean) | Returns the specified Boolean value as an array of bytes. | |
GetBytes(Char) | Returns the specified Unicode character value as an array of bytes. | |
GetBytes(Double) | Returns the specified double-precision floating point value as an array of bytes. | |
GetBytes(Int16) | Returns the specified 16-bit signed integer value as an array of bytes. | |
GetBytes(Int32) | Returns the specified 32-bit signed integer value as an array of bytes. | |
GetBytes(Int64) | Returns the specified 64-bit signed integer value as an array of bytes. | |
GetBytes(Single) | Returns the specified single-precision floating point value as an array of bytes. | |
GetBytes(UInt16) | Returns the specified 16-bit unsigned integer value as an array of bytes. | |
GetBytes(UInt32) | Returns the specified 32-bit unsigned integer value as an array of bytes. | |
GetBytes(UInt64) | Returns the specified 64-bit unsigned integer value as an array of bytes. |
Top