ScpStreamParser.tryCompleteRecord
private
bool tryCompleteRecord(ScpEventSink sink)Attempts to complete one record from pending_. The pending buffer is cleared before the sink runs so state transitions such as beginDataPhase are legal from inside the sink.
Returns
True when a record was completed and delivered to the sink.