Package org.lwjgl.util.zstd
Class ZSTDFrameParameters.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<ZSTDFrameParameters,ZSTDFrameParameters.Buffer>
-
- org.lwjgl.util.zstd.ZSTDFrameParameters.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<ZSTDFrameParameters>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- ZSTDFrameParameters
public static class ZSTDFrameParameters.Buffer extends org.lwjgl.system.StructBuffer<ZSTDFrameParameters,ZSTDFrameParameters.Buffer> implements org.lwjgl.system.NativeResource
An array ofZSTDFrameParameters
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
checksumFlag()
Returns the value of thechecksumFlag
field.ZSTDFrameParameters.Buffer
checksumFlag(int value)
Sets the specified value to thechecksumFlag
field.int
contentSizeFlag()
Returns the value of thecontentSizeFlag
field.ZSTDFrameParameters.Buffer
contentSizeFlag(int value)
Sets the specified value to thecontentSizeFlag
field.int
noDictIDFlag()
Returns the value of thenoDictIDFlag
field.ZSTDFrameParameters.Buffer
noDictIDFlag(int value)
Sets the specified value to thenoDictIDFlag
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newZSTDFrameParameters.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 byZSTDFrameParameters.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
-
contentSizeFlag
public int contentSizeFlag()
Returns the value of thecontentSizeFlag
field.
-
checksumFlag
public int checksumFlag()
Returns the value of thechecksumFlag
field.
-
noDictIDFlag
public int noDictIDFlag()
Returns the value of thenoDictIDFlag
field.
-
contentSizeFlag
public ZSTDFrameParameters.Buffer contentSizeFlag(int value)
Sets the specified value to thecontentSizeFlag
field.
-
checksumFlag
public ZSTDFrameParameters.Buffer checksumFlag(int value)
Sets the specified value to thechecksumFlag
field.
-
noDictIDFlag
public ZSTDFrameParameters.Buffer noDictIDFlag(int value)
Sets the specified value to thenoDictIDFlag
field.
-
-