public static class ZSTDCompressionParameters.Buffer extends org.lwjgl.system.StructBuffer<ZSTDCompressionParameters,ZSTDCompressionParameters.Buffer> implements org.lwjgl.system.NativeResource
ZSTDCompressionParameters structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
ZSTDCompressionParameters.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
chainLog()
Returns the value of the
chainLog field. |
ZSTDCompressionParameters.Buffer |
chainLog(int value)
Sets the specified value to the
chainLog field. |
int |
hashLog()
Returns the value of the
hashLog field. |
ZSTDCompressionParameters.Buffer |
hashLog(int value)
Sets the specified value to the
hashLog field. |
int |
minMatch()
Returns the value of the
minMatch field. |
ZSTDCompressionParameters.Buffer |
minMatch(int value)
Sets the specified value to the
minMatch field. |
int |
searchLog()
Returns the value of the
searchLog field. |
ZSTDCompressionParameters.Buffer |
searchLog(int value)
Sets the specified value to the
searchLog field. |
int |
strategy()
Returns the value of the
strategy field. |
ZSTDCompressionParameters.Buffer |
strategy(int value)
Sets the specified value to the
strategy field. |
int |
targetLength()
Returns the value of the
targetLength field. |
ZSTDCompressionParameters.Buffer |
targetLength(int value)
Sets the specified value to the
targetLength field. |
int |
windowLog()
Returns the value of the
windowLog field. |
ZSTDCompressionParameters.Buffer |
windowLog(int value)
Sets the specified value to the
windowLog field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
ZSTDCompressionParameters.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 ZSTDCompressionParameters.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int windowLog()
windowLog field.public int chainLog()
chainLog field.public int hashLog()
hashLog field.public int searchLog()
searchLog field.public int minMatch()
minMatch field.public int targetLength()
targetLength field.public int strategy()
strategy field.public ZSTDCompressionParameters.Buffer windowLog(int value)
windowLog field.public ZSTDCompressionParameters.Buffer chainLog(int value)
chainLog field.public ZSTDCompressionParameters.Buffer hashLog(int value)
hashLog field.public ZSTDCompressionParameters.Buffer searchLog(int value)
searchLog field.public ZSTDCompressionParameters.Buffer minMatch(int value)
minMatch field.public ZSTDCompressionParameters.Buffer targetLength(int value)
targetLength field.public ZSTDCompressionParameters.Buffer strategy(int value)
strategy field.Copyright LWJGL. All Rights Reserved. License terms.