uppercase method

String uppercase(
  1. String s,
  2. Locale locale
)

Returns the full uppercase mapping of the given string

See the Rust documentation for uppercase for more information.

Implementation

String uppercase(String s, Locale locale) {
  final temp = _FinalizedArena();
  final write = _Write();
  _icu4x_CaseMapper_uppercase_mv1(_ffi, s._utf8AllocIn(temp.arena), locale._ffi, write._ffi);
  return write.finalize();
}