java.util.zip.Checksumpublic class XXHash32 extends java.lang.Object implements java.util.zip.Checksum
Copied from Commons Compress 1.14 https://git-wip-us.apache.org/repos/asf?p=commons-compress.git;a=blob;f=src/main/java/org/apache/commons/compress/compressors/lz4/XXHash32.java;h=a406ffc197449be594d46f0d2712b2d4786a1e68;hb=HEAD
NotThreadSafe
| Constructor | Description |
|---|---|
XXHash32() |
Creates an XXHash32 instance with a seed of 0.
|
XXHash32(int seed) |
Creates an XXHash32 instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
long |
getValue() |
|
void |
reset() |
|
void |
update(byte[] b,
int off,
int len) |
|
void |
update(int b) |
public XXHash32()
public XXHash32(int seed)
seed - the seed to usepublic void reset()
reset in interface java.util.zip.Checksumpublic void update(int b)
update in interface java.util.zip.Checksumpublic void update(byte[] b, int off, int len)
update in interface java.util.zip.Checksumpublic long getValue()
getValue in interface java.util.zip.Checksum