code: public void destroy()
    {
      try {
        close();
      } catch (IOException e) {
      }
  
      TempCharBuffer ptr = _head;
      
      _head = null;
      _tail = null;
  
      TempCharBuffer.freeAll(ptr);
    }
docs: Clean up the temp stream.