summaryrefslogtreecommitdiff
path: root/libjava/java/util/zip/CRC32.h
blob: af515fc99fe6733c5e8c0dbd5f16032e2aed4551 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_zip_CRC32__
#define __java_util_zip_CRC32__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>


class java::util::zip::CRC32 : public ::java::lang::Object
{

public:
  CRC32();
private:
  static JArray< jint > * make_crc_table();
public:
  virtual jlong getValue();
  virtual void reset();
  virtual void update(jint);
  virtual void update(JArray< jbyte > *, jint, jint);
  virtual void update(JArray< jbyte > *);
private:
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) crc;
  static JArray< jint > * crc_table;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_zip_CRC32__