private static int GetUtf8LengthInBytes(IEnumerable <uint> codePoints) { int len = 0; foreach (var codePoint in codePoints) { len += Utf8Helper.GetNumberOfEncodedBytes(codePoint); } return(len); }
private static int GetUtf8LengthInBytes(IEnumerable <uint> codePoints) { int len = 0; foreach (var codePoint in codePoints) { len += Utf8Helper.GetNumberOfEncodedBytes(codePoint); } return(len); }