Encoding.GetByteCount Method
.NET Framework 4.5
When overridden in a derived class, 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. |
|
GetByteCount(String) | When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string. |
|
GetByteCount(Char*, Int32) | When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. |
|
GetByteCount(Char[], Int32, Int32) | When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. |