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 ofZSTDCompressionParameters
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
chainLog()
Returns the value of thechainLog
field.ZSTDCompressionParameters.Buffer
chainLog(int value)
Sets the specified value to thechainLog
field.int
hashLog()
Returns the value of thehashLog
field.ZSTDCompressionParameters.Buffer
hashLog(int value)
Sets the specified value to thehashLog
field.int
minMatch()
Returns the value of theminMatch
field.ZSTDCompressionParameters.Buffer
minMatch(int value)
Sets the specified value to theminMatch
field.int
searchLog()
Returns the value of thesearchLog
field.ZSTDCompressionParameters.Buffer
searchLog(int value)
Sets the specified value to thesearchLog
field.int
strategy()
Returns the value of thestrategy
field.ZSTDCompressionParameters.Buffer
strategy(int value)
Sets the specified value to thestrategy
field.int
targetLength()
Returns the value of thetargetLength
field.ZSTDCompressionParameters.Buffer
targetLength(int value)
Sets the specified value to thetargetLength
field.int
windowLog()
Returns the value of thewindowLog
field.ZSTDCompressionParameters.Buffer
windowLog(int value)
Sets the specified value to thewindowLog
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newZSTDCompressionParameters.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 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 thewindowLog
field.
-
chainLog
public int chainLog()
Returns the value of thechainLog
field.
-
hashLog
public int hashLog()
Returns the value of thehashLog
field.
-
searchLog
public int searchLog()
Returns the value of thesearchLog
field.
-
minMatch
public int minMatch()
Returns the value of theminMatch
field.
-
targetLength
public int targetLength()
Returns the value of thetargetLength
field.
-
strategy
public int strategy()
Returns the value of thestrategy
field.
-
windowLog
public ZSTDCompressionParameters.Buffer windowLog(int value)
Sets the specified value to thewindowLog
field.
-
chainLog
public ZSTDCompressionParameters.Buffer chainLog(int value)
Sets the specified value to thechainLog
field.
-
hashLog
public ZSTDCompressionParameters.Buffer hashLog(int value)
Sets the specified value to thehashLog
field.
-
searchLog
public ZSTDCompressionParameters.Buffer searchLog(int value)
Sets the specified value to thesearchLog
field.
-
minMatch
public ZSTDCompressionParameters.Buffer minMatch(int value)
Sets the specified value to theminMatch
field.
-
targetLength
public ZSTDCompressionParameters.Buffer targetLength(int value)
Sets the specified value to thetargetLength
field.
-
strategy
public ZSTDCompressionParameters.Buffer strategy(int value)
Sets the specified value to thestrategy
field.
-
-