Class XXH128Hash

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XXH128Hash extends Struct<XXH128Hash> implements NativeResource
The return value from 128-bit hashes.

Stored in little endian order, although the fields themselves are in native endianness.

Layout


 struct XXH128_hash_t {
     XXH64_hash_t low64();
     XXH64_hash_t high64();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • LOW64

      public static final int LOW64
      The struct member offsets.
    • HIGH64

      public static final int HIGH64
      The struct member offsets.
  • Constructor Details

    • XXH128Hash

      public XXH128Hash(ByteBuffer container)
      Creates a XXH128Hash instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details