StringUtf8Pointer extension Null safety

on

Methods

toANSI({Allocator allocator = malloc}) Pointer<Utf8>
Creates a zero-terminated ANSI string pointer from this String. Unlike the FFI-provided toNativeUtf8 method, this will always return a single byte for every character in the original string. [...]