Future<void> truncateAsync(int newLength, {bool sparse = true}) async => truncate(newLength, sparse: sparse);