Package org.lwjgl.util.zstd
Class ZSTDCompressionParameters.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<ZSTDCompressionParameters,ZSTDCompressionParameters.Buffer>
-
- org.lwjgl.util.zstd.ZSTDCompressionParameters.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<ZSTDCompressionParameters>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- ZSTDCompressionParameters
public static class ZSTDCompressionParameters.Buffer extends org.lwjgl.system.StructBuffer<ZSTDCompressionParameters,ZSTDCompressionParameters.Buffer> implements org.lwjgl.system.NativeResource
An array ofZSTDCompressionParametersstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newZSTDCompressionParameters.Bufferinstance 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 byZSTDCompressionParameters.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
-
windowLog
public int windowLog()
- Returns:
- the value of the
ZSTDCompressionParameters.windowLog()field.
-
chainLog
public int chainLog()
- Returns:
- the value of the
ZSTDCompressionParameters.chainLog()field.
-
hashLog
public int hashLog()
- Returns:
- the value of the
ZSTDCompressionParameters.hashLog()field.
-
searchLog
public int searchLog()
- Returns:
- the value of the
ZSTDCompressionParameters.searchLog()field.
-
minMatch
public int minMatch()
- Returns:
- the value of the
ZSTDCompressionParameters.minMatch()field.
-
targetLength
public int targetLength()
- Returns:
- the value of the
ZSTDCompressionParameters.targetLength()field.
-
strategy
public int strategy()
- Returns:
- the value of the
ZSTDCompressionParameters.strategy()field.
-
windowLog
public ZSTDCompressionParameters.Buffer windowLog(int value)
Sets the specified value to theZSTDCompressionParameters.windowLog()field.
-
chainLog
public ZSTDCompressionParameters.Buffer chainLog(int value)
Sets the specified value to theZSTDCompressionParameters.chainLog()field.
-
hashLog
public ZSTDCompressionParameters.Buffer hashLog(int value)
Sets the specified value to theZSTDCompressionParameters.hashLog()field.
-
searchLog
public ZSTDCompressionParameters.Buffer searchLog(int value)
Sets the specified value to theZSTDCompressionParameters.searchLog()field.
-
minMatch
public ZSTDCompressionParameters.Buffer minMatch(int value)
Sets the specified value to theZSTDCompressionParameters.minMatch()field.
-
targetLength
public ZSTDCompressionParameters.Buffer targetLength(int value)
Sets the specified value to theZSTDCompressionParameters.targetLength()field.
-
strategy
public ZSTDCompressionParameters.Buffer strategy(int value)
Sets the specified value to theZSTDCompressionParameters.strategy()field.
-
-