| 43 | } |
| 44 | |
| 45 | bool DecodeChannel::isOutputBlocked() const |
| 46 | { |
| 47 | // If we have completed the entire vector, we are done |
| 48 | if ( decoder->totalRecordsCompleted() >= maxRecordCount ) |
| 49 | { |
| 50 | return ( true ); |
| 51 | } |
| 52 | |
| 53 | // If we have filled the dest buffer, we are blocked |
| 54 | return ( dbuf.impl()->nextIndex() == dbuf.impl()->capacity() ); |
| 55 | } |
| 56 | |
| 57 | bool DecodeChannel::isInputBlocked() const |
| 58 | { |
no test coverage detected