removeAll method

int removeAll ()

Removes (deletes) ALL Objects in a single transaction.

Implementation

int removeAll() {
  final removedItems = allocate<Uint64>();
  try {
    checkObx(bindings.obx_box_remove_all(_cBox, removedItems));
    return removedItems.value;
  } finally {
    free(removedItems);
  }
}