toNativeChars method

Pointer<Char> toNativeChars([
  1. Allocator allocator = malloc
])

Returns a Utf-8 encoded Pointer

Implementation

Pointer<Char> toNativeChars([Allocator allocator = malloc]) {
  return toNativeUtf8(allocator: allocator).cast<Char>();
}