java.lang.Object
pixy.util.zip.CRC32
- All Implemented Interfaces:
Checksum
public class CRC32
extends java.lang.Object
implements Checksum
Table based CRC32 implementation.
- Version:
- 1.0 11/01/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Constructor Summary
Constructors
Constructor |
Description |
CRC32() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
long |
getValue() |
|
void |
reset() |
|
void |
update(byte[] buff) |
|
void |
update(byte[] buff,
int offset,
int size) |
|
void |
update(int i) |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
-
-
-
public void update(byte[] buff)
-
public void update(byte[] buff,
int offset,
int size)
- Specified by:
update
in interface Checksum