public static long Utf8ByteLength(string value) { if (value == null) { return 0; } return UTF_8.GetByteCount(value); } }