2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_util_zip_ZipFile$PartialInputStream__
5 #define __java_util_zip_ZipFile$PartialInputStream__
9 #include <java/io/InputStream.h>
10 #include <gcj/array.h>
27 class java::util::zip::ZipFile$PartialInputStream : public ::java::io::InputStream
31 ZipFile$PartialInputStream(::java::io::RandomAccessFile *, jint);
32 public: // actually package-private
33 void setLength(jlong);
39 jint read(JArray< jbyte > *, jint, jint);
41 public: // actually package-private
43 void readFully(JArray< jbyte > *);
44 void readFully(JArray< jbyte > *, jint, jint);
48 ::java::lang::String * decodeChars(JArray< jbyte > *, jint, jint);
49 public: // actually package-private
50 ::java::lang::String * readString(jint);
54 static ::java::nio::charset::Charset * UTF8CHARSET;
55 ::java::nio::charset::CharsetDecoder * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) utf8Decoder;
56 ::java::io::RandomAccessFile * raf;
57 JArray< jbyte > * buffer;
63 static ::java::lang::Class class$;
66 #endif // __java_util_zip_ZipFile$PartialInputStream__