OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / net / protocol / core / CoreInputStream.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_net_protocol_core_CoreInputStream__
5 #define __gnu_java_net_protocol_core_CoreInputStream__
6
7 #pragma interface
8
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace gcj
17     {
18         class Core;
19         class RawData;
20     }
21     namespace java
22     {
23       namespace net
24       {
25         namespace protocol
26         {
27           namespace core
28           {
29               class CoreInputStream;
30           }
31         }
32       }
33     }
34   }
35 }
36
37 class gnu::java::net::protocol::core::CoreInputStream : public ::java::io::InputStream
38 {
39
40   jint unsafeGetByte(jlong);
41   jint copyIntoByteArray(JArray< jbyte > *, jint, jint);
42 public:
43   CoreInputStream(::gnu::gcj::Core *);
44   virtual jint available();
45   virtual void mark(jint);
46   virtual jboolean markSupported();
47   virtual jint read();
48   virtual jint read(JArray< jbyte > *, jint, jint);
49   virtual void reset();
50   virtual jlong skip(jlong);
51 public: // actually protected
52   ::gnu::gcj::RawData * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) ptr;
53   jint pos;
54   jint mark__;
55   jint count;
56 public:
57   static ::java::lang::Class class$;
58 };
59
60 #endif // __gnu_java_net_protocol_core_CoreInputStream__