public class XXHash32
extends java.lang.Object
implements java.util.zip.Checksum
| Constructor and Description |
|---|
XXHash32()
Creates an XXHash32 instance with a seed of 0.
|
XXHash32(int seed)
Creates an XXHash32 instance.
|
| Modifier and Type | Method and 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.ChecksumCopyright © 2010 - 2023 Adobe. All Rights Reserved