NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Encoding.GetChars (Byte[])

Decodes a range of bytes in an array into an array of characters.

[Visual Basic]
Overloads Overridable Public Function GetChars( _
   ByVal bytes() As Byte _
) As Char ()
[C#]
public virtual char[] GetChars(
   byte[] bytes
);
[C++]
public: virtual __wchar_t* GetChars(
   unsigned char* bytes[]
) [];
[JScript]
public function GetChars(
   bytes : Byte[]
) : Char[];

Parameters

bytes
The byte array to decode.

Return Value

An array of type Char produced by decoding a range of bytes in the specified byte array.

Exceptions

Exception Type Condition
ArgumentNullException bytes is a null reference (in Visual Basic Nothing).

See Also

Encoding Class | Encoding Members | System.Text Namespace | Encoding.GetChars Overload List | GetCharCount | GetMaxCharCount