diff options
Diffstat (limited to 'libjava/gnu/java/io/Base64InputStream.h')
-rw-r--r-- | libjava/gnu/java/io/Base64InputStream.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/libjava/gnu/java/io/Base64InputStream.h b/libjava/gnu/java/io/Base64InputStream.h new file mode 100644 index 00000000000..22568f8001d --- /dev/null +++ b/libjava/gnu/java/io/Base64InputStream.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_io_Base64InputStream__ +#define __gnu_java_io_Base64InputStream__ + +#pragma interface + +#include <java/io/FilterInputStream.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace io + { + class Base64InputStream; + } + } + } +} + +class gnu::java::io::Base64InputStream : public ::java::io::FilterInputStream +{ + +public: + Base64InputStream(::java::io::InputStream *); + static JArray< jbyte > * decode(::java::lang::String *); + virtual jint available(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual jboolean markSupported(); + virtual void mark(jint); + virtual void reset(); + virtual jlong skip(jlong); +private: + static ::java::lang::String * BASE_64; + static const jchar BASE_64_PAD = 61; + jint __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) state; + jint temp; + jboolean eof; + JArray< jbyte > * one; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_io_Base64InputStream__ |