2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_io_PushbackInputStream__
5 #define __java_io_PushbackInputStream__
9 #include <java/io/FilterInputStream.h>
10 #include <gcj/array.h>
13 class java::io::PushbackInputStream
: public ::java::io::FilterInputStream
17 PushbackInputStream(::java::io::InputStream
*);
18 PushbackInputStream(::java::io::InputStream
*, jint
);
19 virtual jint
available();
21 virtual jboolean
markSupported();
24 virtual jint
read(JArray
< jbyte
> *, jint
, jint
);
25 virtual void unread(jint
);
26 virtual void unread(JArray
< jbyte
> *);
27 virtual void unread(JArray
< jbyte
> *, jint
, jint
);
28 virtual jlong
skip(jlong
);
30 static const jint DEFAULT_BUFFER_SIZE
= 1;
31 public: // actually protected
32 JArray
< jbyte
> * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream
)))) buf
;
35 static ::java::lang::Class
class$
;
38 #endif // __java_io_PushbackInputStream__