Class LZ4FFrameInfo.Buffer

    • Constructor Detail

      • Buffer

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

      • blockSizeID

        public int blockSizeID()
        Returns the value of the blockSizeID field.
      • blockMode

        public int blockMode()
        Returns the value of the blockMode field.
      • contentChecksumFlag

        public int contentChecksumFlag()
        Returns the value of the contentChecksumFlag field.
      • frameType

        public int frameType()
        Returns the value of the frameType field.
      • contentSize

        public long contentSize()
        Returns the value of the contentSize field.
      • dictID

        public int dictID()
        Returns the value of the dictID field.
      • blockChecksumFlag

        public int blockChecksumFlag()
        Returns the value of the blockChecksumFlag field.
      • blockSizeID

        public LZ4FFrameInfo.Buffer blockSizeID​(int value)
        Sets the specified value to the blockSizeID field.
      • blockMode

        public LZ4FFrameInfo.Buffer blockMode​(int value)
        Sets the specified value to the blockMode field.
      • contentChecksumFlag

        public LZ4FFrameInfo.Buffer contentChecksumFlag​(int value)
        Sets the specified value to the contentChecksumFlag field.
      • frameType

        public LZ4FFrameInfo.Buffer frameType​(int value)
        Sets the specified value to the frameType field.
      • contentSize

        public LZ4FFrameInfo.Buffer contentSize​(long value)
        Sets the specified value to the contentSize field.
      • dictID

        public LZ4FFrameInfo.Buffer dictID​(int value)
        Sets the specified value to the dictID field.
      • blockChecksumFlag

        public LZ4FFrameInfo.Buffer blockChecksumFlag​(int value)
        Sets the specified value to the blockChecksumFlag field.