summaryrefslogtreecommitdiff
path: root/libjava/java/io/DataInputStream.h
blob: 12371ff9557924efc2cc53fa595e0860e1a5502c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_io_DataInputStream__
#define __java_io_DataInputStream__

#pragma interface

#include <java/io/FilterInputStream.h>
#include <gcj/array.h>


class java::io::DataInputStream : public ::java::io::FilterInputStream
{

public:
  DataInputStream(::java::io::InputStream *);
  virtual jint read(JArray< jbyte > *);
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual jboolean readBoolean();
  virtual jbyte readByte();
  virtual jchar readChar();
  virtual jdouble readDouble();
  virtual jfloat readFloat();
  virtual void readFully(JArray< jbyte > *);
  virtual void readFully(JArray< jbyte > *, jint, jint);
  virtual jint readInt();
  virtual ::java::lang::String * readLine();
  virtual jlong readLong();
  virtual jshort readShort();
  virtual jint readUnsignedByte();
  virtual jint readUnsignedShort();
  virtual ::java::lang::String * readUTF();
  static ::java::lang::String * readUTF(::java::io::DataInput *);
public: // actually package-private
  virtual ::java::lang::String * readUTFLong();
private:
  static ::java::lang::String * readUTF(::java::io::DataInput *, jint);
public:
  virtual jint skipBytes(jint);
public: // actually package-private
  static jboolean convertToBoolean(jint);
  static jbyte convertToByte(jint);
  static jint convertToUnsignedByte(jint);
  static jchar convertToChar(JArray< jbyte > *);
  static jshort convertToShort(JArray< jbyte > *);
  static jint convertToUnsignedShort(JArray< jbyte > *);
  static jint convertToInt(JArray< jbyte > *);
  static jlong convertToLong(JArray< jbyte > *);
  static ::java::lang::String * convertFromUTF(JArray< jbyte > *);
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) buf;
public:
  static ::java::lang::Class class$;
};

#endif // __java_io_DataInputStream__