### XXHash64 Constructor Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html The default constructor for the XXHash64 class. ```java public XXHash64() { } ``` -------------------------------- ### ToString Method Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Returns a string representation of the XXHash64 object. This method overrides the default toString method from the Object class. ```java public java.lang.String toString() ``` -------------------------------- ### hash(byte[] buf, int off, int len, long seed) Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Computes the 64-bits hash of a byte array slice using a specified seed. This method is abstract and intended to be implemented by subclasses. ```APIDOC ## hash(byte[] buf, int off, int len, long seed) ### Description Computes the 64-bits hash of `buf[off:off+len]` using seed `seed`. ### Method abstract long ### Parameters #### Path Parameters - **buf** (byte[]) - the input data - **off** (int) - the start offset in buf - **len** (int) - the number of bytes to hash - **seed** (long) - the seed to use ### Returns - **long** - the hash value ``` -------------------------------- ### hash(ByteBuffer buf, int off, int len, long seed) Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Computes the hash of a given slice of a ByteBuffer using a specified seed. The buffer's position and limit remain unmodified after this operation. ```APIDOC ## hash(ByteBuffer buf, int off, int len, long seed) ### Description Computes the hash of the given slice of the `ByteBuffer`. `position` and `limit` are not modified. ### Method abstract long ### Parameters #### Path Parameters - **buf** (ByteBuffer) - the input data - **off** (int) - the start offset in buf - **len** (int) - the number of bytes to hash - **seed** (long) - the seed to use ### Returns - **long** - the hash value ``` -------------------------------- ### Hash Byte Array Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Computes the 64-bit hash of a byte array slice using a seed. The input data, offset, length, and seed are specified. ```java public abstract long hash(byte[] buf, int off, int len, long seed) ``` -------------------------------- ### hash(ByteBuffer buf, long seed) Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Computes the hash of a given ByteBuffer using a specified seed. The buffer's position is updated to reflect the bytes that have been read. ```APIDOC ## hash(ByteBuffer buf, long seed) ### Description Computes the hash of the given `ByteBuffer`. The `position` is moved in order to reflect bytes which have been read. ### Method final long ### Parameters #### Path Parameters - **buf** (ByteBuffer) - the input data - **seed** (long) - the seed to use ### Returns - **long** - the hash value ``` -------------------------------- ### Hash ByteBuffer Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Computes the hash of a given ByteBuffer. The position of the ByteBuffer is updated to reflect the bytes that have been read. ```java public final long hash(java.nio.ByteBuffer buf, long seed) ``` -------------------------------- ### Hash ByteBuffer Slice Source: https://www.javadoc.io/doc/org.lz4/lz4-java/1.8.0/net/jpountz/xxhash/XXHash64.html Computes the hash of a given slice of a ByteBuffer. The position and limit of the ByteBuffer are not modified by this method. ```java public abstract long hash(java.nio.ByteBuffer buf, int off, int len, long seed) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.