StringUtf8PointerCustom extension

Extension method for converting a String to a Pointer<Utf8>.

on

Methods

asCharP({Allocator allocator = malloc, Encoding? encoding}) Pointer<Char>

Available on String, provided by the StringUtf8PointerCustom extension

Returns * char
asInt8({Allocator allocator = malloc, Encoding? encoding}) Pointer<Int8>

Available on String, provided by the StringUtf8PointerCustom extension

Returns *const char
asUtf8P({Allocator allocator = malloc, Encoding? encoding}) Pointer<Utf8>

Available on String, provided by the StringUtf8PointerCustom extension

Creates a zero-terminated Utf8 code-unit array from this String.