string2PointerInt8 static method

Pointer<Uint8> string2PointerInt8(
  1. String data
)

Implementation

static Pointer<Uint8> string2PointerInt8(String data) {
  return data.toNativeUtf8().cast<Uint8>();
}