Converts a 16-bit unsigned integer into an array of bytes with length 2.
[Visual Basic] Overloads Public Shared Function GetBytes( _ ByVal value As UInt16 _ ) As Byte () [C#] public static byte[] GetBytes( ushort value ); [C++] public: static unsigned char* GetBytes( unsigned short value ) []; [JScript] public static function GetBytes( value : UInt16 ) : Byte[];
An array of bytes with length 2.
BitConverter Class | BitConverter Members | System Namespace | BitConverter.GetBytes Overload List