cake_wallet/cw_haven/lib/api/structs/ut8_box.dart

9 lines
162 B
Dart
Raw Permalink Normal View History

2022-03-30 15:57:04 +00:00
import 'dart:ffi';
import 'package:ffi/ffi.dart';
class Utf8Box extends Struct {
2022-10-12 17:09:57 +00:00
external Pointer<Utf8> value;
2022-03-30 15:57:04 +00:00
2022-10-12 17:09:57 +00:00
String getValue() => value.toDartString();
2022-03-30 15:57:04 +00:00
}