onSequenceStart method
- int id
override
A sequence opened. Return the visitor for its fields (which follows the
same contract, recursively — this for a flat consumer), or null to
skip the whole sub-sequence.
Implementation
@override
MessageVisitor? onSequenceStart(int id) {
if (_overCapacity(this, id, cap, rcap)) return null;
while (out.length <= id) {
out.add(make());
}
return vis(out[id]);
}