public interface BytesHasher
Modifier and Type | Method and Description |
---|---|
long |
hash(Bytes bytes)
Provide a 64-bit hash for the bytes in Bytes between the bytes.position() and bytes.limit();
|
long |
hash(Bytes bytes,
long offset,
long limit)
Provide a 64-bit hash for the bytes between offset and limit
|
long hash(Bytes bytes)
bytes
- to hashlong hash(Bytes bytes, long offset, long limit)
bytes
- to hashoffset
- the start inclusivelimit
- the end exclusiveCopyright © 2019. All rights reserved.