DartAwarePointerChars extension

Helpers to convert between Pointer<Pointer<Char>> and List<String>.

on

Methods

free(int length) → void

Available on Pointer<Pointer<Char>>, provided by the DartAwarePointerChars extension

Releases all native memory.
toDartStrings(int length) List<String>

Available on Pointer<Pointer<Char>>, provided by the DartAwarePointerChars extension

Creates a Dart view on a pointer to a pointer to utf8 chars in native memory, cast as a List<String>. This method does not copy the data out of native memory.