public static Utf8ByteLength ( string value ) : long | ||
value | string | |
Résultat | long |
public static long Utf8ByteLength(string value)
{
if (value == null)
{
return 0;
}
return UTF_8.GetByteCount(value);
}
}