summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/charset/UTF_16Decoder.h
blob: b23c3e72b962fcaf0bd84a2d7d64db43c3cfddd3 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_nio_charset_UTF_16Decoder__
#define __gnu_java_nio_charset_UTF_16Decoder__

#pragma interface

#include <java/nio/charset/CharsetDecoder.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace nio
      {
        namespace charset
        {
            class UTF_16Decoder;
        }
      }
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteBuffer;
        class CharBuffer;
      namespace charset
      {
          class Charset;
          class CoderResult;
      }
    }
  }
}

class gnu::java::nio::charset::UTF_16Decoder : public ::java::nio::charset::CharsetDecoder
{

public: // actually package-private
  UTF_16Decoder(::java::nio::charset::Charset *, jint);
public: // actually protected
  ::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
  void implReset();
public: // actually package-private
  static const jint BIG_ENDIAN = 0;
  static const jint LITTLE_ENDIAN = 1;
  static const jint UNKNOWN_ENDIAN = 2;
  static const jint MAYBE_BIG_ENDIAN = 3;
  static const jint MAYBE_LITTLE_ENDIAN = 4;
private:
  static const jchar BYTE_ORDER_MARK = 65279;
  static const jchar REVERSED_BYTE_ORDER_MARK = 65534;
  jint __attribute__((aligned(__alignof__( ::java::nio::charset::CharsetDecoder)))) originalByteOrder;
  jint byteOrder;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_java_nio_charset_UTF_16Decoder__