Method StrLenBytes
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
StrLenBytes(string)
Returns the number of UTF-8 encoded bytes in the specified string.
public static int StrLenBytes(this string s)
Parameters
s
string
The string.
Returns
The number of UTF-8 bytes.