hasMoreToProcess method
Return true
if there is more data to process, false
otherwise.
There is more to process if data is remaining in either buffer to be read.
There is more to process if a non-empty _InputData
exists.
Implementation
bool hasMoreToProcess() =>
_toProcess.isNotEmpty ||
(_inputBuffer.unreadCount > 0) ||
(_outputBuffer.unreadCount > 0);