Class XXH32State.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new XXH32State.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 XXH32State.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_32

        public int total_len_32()
        Returns the value of the total_len_32 field.
      • large_len

        public int large_len()
        Returns the value of the large_len field.
      • v1

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

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

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

        public int v4()
        Returns the value of the v4 field.
      • mem32

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

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

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

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