mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 01:47:41 +00:00
8 lines
No EOL
191 B
Dart
8 lines
No EOL
191 B
Dart
import 'dart:ffi';
|
|
import 'package:ffi/ffi.dart';
|
|
|
|
String convertUTF8ToString({required Pointer<Utf8> pointer}) {
|
|
final str = pointer.toDartString();
|
|
calloc.free(pointer);
|
|
return str;
|
|
} |