// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_zip_GZIPInputStream__
#define __java_util_zip_GZIPInputStream__

#pragma interface

#include <java/util/zip/InflaterInputStream.h>
#include <gcj/array.h>

class java::util::zip::GZIPInputStream : public ::java::util::zip::InflaterInputStream
{
public:
  GZIPInputStream (::java::io::InputStream *);
  GZIPInputStream (::java::io::InputStream *, jint);
  virtual void close ();
private:
  jint eof_read ();
public:
  virtual jint read (jbyteArray, jint, jint);
private:
  jint read4 (jbyteArray, jint);
public:
  static const jint GZIP_MAGIC = 35615L;
public: // actually package-private
  static const jint Z_DEFLATED = 8L;
  static const jint HEAD_CRC = 2L;
  static const jint EXTRA_FIELD = 4L;
  static const jint ORIG_NAME = 8L;
  static const jint COMMENT = 16L;
  static const jint RESERVED = 224L;
public:  // actually protected
  ::java::util::zip::CRC32 * __attribute__((aligned(__alignof__( ::java::util::zip::InflaterInputStream )))) crc;
  jboolean eos;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_util_zip_GZIPInputStream__ */
