LoadUTF8 method

String LoadUTF8(
  1. List<int> codepoints
)

Implementation

String LoadUTF8(
  List<int> codepoints,
) => run(
  () => 'LoadUTF8(codepoints: ${codepoints.length})',
  () {
    final utf8 = rl.Core.LoadUTF8(
      refListInt(codepoints),
      codepoints.length,
    );
    try {
      return utf8.toD;
    } finally {
      rl.Core.UnloadUTF8(utf8);
    }
  },
);