home *** CD-ROM | disk | FTP | other *** search
- package java.util.zip;
-
- public class CRC32 implements Checksum {
- private int crc;
-
- public void update(int var1) {
- this.update1(var1);
- }
-
- public native void update(byte[] var1, int var2, int var3);
-
- public void update(byte[] var1) {
- this.update(var1, 0, var1.length);
- }
-
- public void reset() {
- this.crc = 0;
- }
-
- public long getValue() {
- return (long)this.crc & 4294967295L;
- }
-
- private native void update1(int var1);
-
- static {
- System.loadLibrary("zip");
- }
- }
-