UTF8Encoding.GetByteCount Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Calculates the number of bytes produced by encoding a set of characters.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
GetByteCount(Char[]) | When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array. (Inherited from Encoding.) |
|
GetByteCount(String) | Calculates the number of bytes that would be produced by encoding the characters in the specified String. (Overrides Encoding.GetByteCount(String).) |
|
GetByteCount(Char[], Int32, Int32) | Calculates the number of bytes that would be produced by encoding a set of characters from the specified character array. (Overrides Encoding.GetByteCount(Char[], Int32, Int32).) |
Show: