summaryrefslogtreecommitdiff
path: root/libjava/gnu/CORBA/CDR/LittleEndianInputStream.h
blob: d6a9a6e05dc741f07997585bc65e7a84145b031a (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
57
58
59
60
61
62
63
64
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_CORBA_CDR_LittleEndianInputStream__
#define __gnu_CORBA_CDR_LittleEndianInputStream__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace CORBA
    {
      namespace CDR
      {
          class LittleEndianInputStream;
      }
    }
  }
}

class gnu::CORBA::CDR::LittleEndianInputStream : public ::java::io::FilterInputStream
{

public:
  LittleEndianInputStream(::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 jint skipBytes(jint);
public: // actually protected
  virtual jboolean convertToBoolean(jint);
  virtual jbyte convertToByte(jint);
  virtual jint convertToUnsignedByte(jint);
  virtual jchar convertToChar(JArray< jbyte > *);
  virtual jshort convertToShort(JArray< jbyte > *);
  virtual jint convertToUnsignedShort(JArray< jbyte > *);
  virtual jint convertToInt(JArray< jbyte > *);
  virtual jlong convertToLong(JArray< jbyte > *);
public:
  virtual ::java::lang::String * readUTF();
public: // actually package-private
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterInputStream)))) buf;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_CORBA_CDR_LittleEndianInputStream__