dumpBlob method

void dumpBlob(
  1. IStatus status,
  2. Pointer<IscQuad> blobId,
  3. IAttachment attachment,
  4. ITransaction transaction,
  5. String file,
  6. bool txt,
)

Implementation

void dumpBlob(IStatus status, Pointer<IscQuad> blobId, IAttachment attachment,
    ITransaction transaction, String file, bool txt) {
  final fileUtf = file.toNativeUtf8(allocator: mem);
  try {
    _dumbBlob(self, status.self, blobId, attachment.self, transaction.self,
        fileUtf, txt ? 1 : 0);
    status.checkStatus();
  } finally {
    mem.free(fileUtf);
  }
}