UTF8Encoding.GetByteCount Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Calculates the number of bytes produced by encoding a set of characters.

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodGetByteCount(Char*, Int32)

Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.(Overrides Encoding.GetByteCount(Char*, Int32).)

System_CAPS_pubmethodGetByteCount(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.)

System_CAPS_pubmethodGetByteCount(Char[], Int32, Int32)

Calculates the number of bytes produced by encoding a set of characters from the specified character array.(Overrides Encoding.GetByteCount(Char[], Int32, Int32).)

System_CAPS_pubmethodGetByteCount(String)

Calculates the number of bytes produced by encoding the characters in the specified String.(Overrides Encoding.GetByteCount(String).)

Return to top
Show: