Class XXH64State.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new XXH64State.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by XXH64State.SIZEOF, and its mark will be undefined.

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

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • total_len

        public long total_len()
        Returns the value of the total_len field.
      • v1

        public long v1()
        Returns the value of the v1 field.
      • v2

        public long v2()
        Returns the value of the v2 field.
      • v3

        public long v3()
        Returns the value of the v3 field.
      • v4

        public long v4()
        Returns the value of the v4 field.
      • mem64

        public java.nio.LongBuffer mem64()
        Returns a LongBuffer view of the mem64 field.
      • mem64

        public long mem64​(int index)
        Returns the value at the specified index of the mem64 field.
      • memsize

        public int memsize()
        Returns the value of the memsize field.
      • reserved

        public java.nio.IntBuffer reserved()
        Returns a IntBuffer view of the reserved field.
      • reserved

        public int reserved​(int index)
        Returns the value at the specified index of the reserved field.