public class XxHash extends Object implements HashFunction
| Constructor and Description |
|---|
XxHash() |
| Modifier and Type | Method and Description |
|---|---|
long |
hashByteBuffer(ByteBuffer input)
compute the hash value for a ByteBuffer.
|
long |
hashBytes(byte[] input)
compute the hash value for a byte array.
|
public long hashBytes(byte[] input)
HashFunctionhashBytes in interface HashFunctioninput - the input byte arraypublic long hashByteBuffer(ByteBuffer input)
HashFunctionhashByteBuffer in interface HashFunctioninput - the input ByteBufferCopyright © 2023 The Apache Software Foundation. All rights reserved.