Class XXH64Canonical

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class XXH64Canonical
    extends Struct
    implements NativeResource
    64-bit canonical representation.

    Member documentation

    • digest – the digest in canonical representation

    Layout

    
     struct XXH64_canonical_t {
         unsigned char digest[8];
     }
    • Field Detail

      • SIZEOF

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

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

        public static final int DIGEST
        The struct member offsets.
    • Constructor Detail

      • XXH64Canonical

        public XXH64Canonical​(java.nio.ByteBuffer container)
        Creates a XXH64Canonical 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.