java.lang.Object
net.i2p.util.EepGet.Gunzipper
All Implemented Interfaces:
Runnable
Enclosing class:
EepGet

protected class EepGet.Gunzipperextends Object implements Runnable
Decompressor thread. Copied / modified from i2ptunnel HTTPResponseOutputStream (GPL).
  • Field Details

    • _inRaw

      private final InputStream _inRaw
      Stream the raw data is read from.
    • _out

      private final OutputStream _out
      Stream the data is written to.
  • Constructor Details

    • Gunzipper

      public Gunzipper(InputStream in, OutputStream out)
      Wrap the raw compressed input and the decompressed output.
      Parameters:
      in - raw (compressed) input
      out - where the inflated bytes are written
  • Method Details

    • run

      public void run()
      Decompress the raw input stream to the output stream.
      Specified by:
      run in interface Runnable