public void omitAll(){
  if (writeChunk != null)   bytesWritten+=writeChunk.position();
  bytesRead=bytesWritten;
  list.clear();
  writeChunk=null;
  readChunk=null;
}

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