Method StrLenBytes
StrLenBytes(string)
Returns the number of UTF-8 encoded bytes in the specified string.
public static int StrLenBytes(this string s)
Parameters
s
stringThe string.
Returns
- int
The number of UTF-8 bytes.
Returns the number of UTF-8 encoded bytes in the specified string.
public static int StrLenBytes(this string s)
s
stringThe string.
The number of UTF-8 bytes.