question: public void omitAll ( ) { if ( writeChunk != null ) bytesWritten += writeChunk . position ( ) ; bytesRead = bytesWritten ; list . clear ( ) ; writeChunk = null ; readChunk = null ; }
target:  Clears queue and moves read pointer to written pointer.