Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / gnu / java / net / protocol / core / CoreInputStream.h
blobd6beb39658476df35e3c6ef1702143657ea2bf65
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_java_net_protocol_core_CoreInputStream__
5 #define __gnu_java_net_protocol_core_CoreInputStream__
7 #pragma interface
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace gcj
18 class Core;
19 class RawData;
21 namespace java
23 namespace net
25 namespace protocol
27 namespace core
29 class CoreInputStream;
37 class gnu::java::net::protocol::core::CoreInputStream : public ::java::io::InputStream
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$;
60 #endif // __gnu_java_net_protocol_core_CoreInputStream__