isNormalizedUpTo method

int isNormalizedUpTo(
  1. String s
)

Return the index a slice of potentially-invalid UTF-16 is normalized up to

See the Rust documentation for split_normalized_utf16 for more information.

Implementation

int isNormalizedUpTo(String s) {
  final temp = _FinalizedArena();
  final result = _icu4x_ComposingNormalizer_is_normalized_utf16_up_to_mv1(_ffi, s._utf16AllocIn(temp.arena));
  return result;
}