public void clear(){
  bytesRead=bytesWritten=0;
  list.clear();
  writeChunk=null;
  readChunk=null;
}

public void clear ( ) { bytesRead = bytesWritten = 0 ; list . clear ( ) ; writeChunk = null ; readChunk = null ; }
clears bytes and resets all pointers .
