OSDN Git Service

2010-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / libjava / java / io / ByteArrayInputStream.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_io_ByteArrayInputStream__
5 #define __java_io_ByteArrayInputStream__
6
7 #pragma interface
8
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
11
12
13 class java::io::ByteArrayInputStream : public ::java::io::InputStream
14 {
15
16 public:
17   ByteArrayInputStream(JArray< jbyte > *);
18   ByteArrayInputStream(JArray< jbyte > *, jint, jint);
19   virtual jint available();
20   virtual void mark(jint);
21   virtual jboolean markSupported();
22   virtual jint read();
23   virtual jint read(JArray< jbyte > *, jint, jint);
24   virtual void reset();
25   virtual jlong skip(jlong);
26 public: // actually protected
27   JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) buf;
28   jint pos;
29   jint mark__;
30   jint count;
31 public:
32   static ::java::lang::Class class$;
33 };
34
35 #endif // __java_io_ByteArrayInputStream__