rawBlocks property

Iterable<(Dot, Dot, Side, List<T>, List<int>)> get rawBlocks

Low-level per-block view for codecs: (start, parent, side, values, deletedRanges), where deletedRanges is a flat [start, len, …] list. The values list must not be mutated.

Implementation

Iterable<(Dot, Dot, Side, List<T>, List<int>)> get rawBlocks sync* {
  for (final b in _blocks.values) {
    yield (b.start, b.parent, b.side, b.values, _encodeDeleted(b.deleted));
  }
}