Allocates a pointer filled with the Uint8List data.
Pointer<Uint8> allocatePointer() { final blob = calloc<Uint8>(length); blob.asTypedList(length).setAll(0, this); return blob; }