add method
Feeds delta; returns the ops it completed, in order.
Implementation
List<StreamedOp> add(String delta) {
if (delta.isEmpty) return const [];
final out = <StreamedOp>[];
for (var i = 0; i < delta.length; i++) {
_char(delta.codeUnitAt(i), _pos, out);
_pos++;
}
return out;
}