Class XXH32Canonical

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

    public class XXH32Canonical
    extends Struct
    implements NativeResource
    32-bit canonical representation.

    Member documentation

    • digest – the digest in canonical representation


     struct XXH32_canonical_t {
         unsigned char digest[4];
    • 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

      • XXH32Canonical

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