mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
8 lines
No EOL
175 B
Dart
8 lines
No EOL
175 B
Dart
import 'dart:ffi';
|
|
import 'package:ffi/ffi.dart';
|
|
|
|
String convertUTF8ToString({Pointer<Utf8> pointer}) {
|
|
final str = Utf8.fromUtf8(pointer);
|
|
free(pointer);
|
|
return str;
|
|
} |