This documentation is archived and is not being maintained.

UnicodeEncoding.GetCharCount Method

Calculates the number of characters produced by decoding a sequence of bytes.

Name Description
UnicodeEncoding.GetCharCount (Byte[]) When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array.
UnicodeEncoding.GetCharCount (Byte*, Int32) Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.
UnicodeEncoding.GetCharCount (Byte[], Int32, Int32) Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.

Supported by the .NET Compact Framework.

Show: