Appearance
GetEncodedLength Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
int GetEncodedLength(string input, Encoding encoding = null)
csharp
int GetEncodedLength(string input, Encoding encoding = null)Estimates how many bytes are necessary to store the string, based on the specified encoding (defaults to UTF-8).