anchor.diff:    //     unumf_openForSkeletonAndLocale(u"precision-integer", -1, "en", &ec);
     // UFormattedNumber* uresult = unumf_openResult(&ec);
     // if (U_FAILURE(ec)) { return; }
  -  final cLocale = Utf8.allocate(locale);
  -  final cSkeleton = Utf16.allocate(skeleton);
  -  final cErrorCode = ffi.Pointer<ffi.Int32>.allocate(count: 1);
  -  cErrorCode.store(0);
  +  final cLocale = Utf8.toUtf8(locale);
  +  final cSkeleton = Utf16.toUtf16(skeleton);
  +  final cErrorCode = allocate<Int32>(count: 1);
  +  cErrorCode.value = 0;
     final uformatter =
         unumf_openForSkeletonAndLocale(cSkeleton, -1, cLocale, cErrorCode);
  -  cSkeleton.free();
  -  cLocale.free();
  -  var errorCode = cErrorCode.load<int>();
  +  free(cSkeleton);
  +  free(cLocale);
  +  var errorCode = cErrorCode.value;
     expect(errorCode, lessThanOrEqualTo(0),
  -      reason: u_errorName(errorCode).load<Utf8>().toString());
  +      reason: u_errorName(errorCode).toString());
     final uresult = unumf_openResult(cErrorCode);
  -  errorCode = cErrorCode.load();
  +  errorCode = cErrorCode.value;
     // Try to improve this once dart:ffi has extension methods:
     expect(errorCode, lessThanOrEqualTo(0),
  -      reason: u_errorName(errorCode).load<Utf8>().toString());
  +      reason: u_errorName(errorCode).toString());
   
     // // Format a double:
     // unumf_formatDouble(uformatter, 5142.3, uresult, &ec);
  
positive.code:   } else {
      unumf_formatInt(uformatter, number, uresult, cErrorCode);
    }
    errorCode = cErrorCode.load();
    expect(errorCode, lessThanOrEqualTo(0),
        reason: u_errorName(errorCode).load<Utf8>().toString());
  
    // // Export the string to a malloc'd buffer:
    // int32_t len = unumf_resultToString(uresult, NULL, 0, &ec);
  
negative.code: /// testing the package:intl implementation, they only help verify consistent
  /// behaviour across platforms.
  @TestOn("!browser")
  import 'dart:ffi';
  import 'package:ffi/ffi.dart';
  import 'package:test/test.dart';
  
  import 'compact_number_test_data.dart' as testdata35;
  