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

#ifndef __gnu_gcj_protocol_core_CoreInputStream__
#define __gnu_gcj_protocol_core_CoreInputStream__

#pragma interface

#include <java/io/InputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
      namespace protocol
      {
        namespace core
        {
          class CoreInputStream;
        }
      }
      class Core;
      class RawData;
    }
  }
};

class ::gnu::gcj::protocol::core::CoreInputStream : public ::java::io::InputStream
{
private:
  jint unsafeGetByte (jlong);
  jint copyIntoByteArray (jbyteArray, jint, jint);
public:
  CoreInputStream (::gnu::gcj::Core *);
  virtual jint available ();
  virtual void mark (jint);
  virtual jboolean markSupported ();
  virtual jint read ();
  virtual jint read (jbyteArray, jint, jint);
  virtual void reset ();
  virtual jlong skip (jlong);
public:  // actually protected
  ::gnu::gcj::RawData *ptr;
  jint pos;
  jint mark__;
  jint count;
public:

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

#endif /* __gnu_gcj_protocol_core_CoreInputStream__ */
