toPointerUint8 method

Pointer<Uint8> toPointerUint8()

Implementation

Pointer<Uint8> toPointerUint8() {
  final blob = calloc<Uint8>(length);
  final blobBytes = blob.asTypedList(length);
  blobBytes.setAll(0, this);
  return blob;
}