Converts two unsigned bytes into a unicode character value.
[Visual Basic] Public Shared Function ToChar( _ ByVal value() As Byte, _ ByVal startIndex As Integer _ ) As Char [C#] public static char ToChar( byte[] value, int startIndex ); [C++] public: static __wchar_t ToChar( unsigned char* value[], int startIndex ); [JScript] public static function ToChar( value : Byte[], startIndex : int ) : Char;
A character formed from two unsigned bytes beginning at startIndex.
Exception Type | Condition |
---|---|
ArgumentException | value is null. |
ArgumentException | startIndex is a value that results in invalid access to the array. |
BitConverter Class | BitConverter Members | System Namespace