copyToNative method

Pointer<Char> copyToNative()

Copies a single Dart string into its C memory equivalent.

See also:

  • toCharsPointerPointer

Implementation

Pointer<Char> copyToNative() => toNativeUtf8().cast<Char>();