string2PointerChar static method

Pointer<Char> string2PointerChar(
  1. String data
)

Implementation

static ffi.Pointer<ffi.Char> string2PointerChar(String data) {
  return data.toNativeUtf8().cast<ffi.Char>();
}