| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| private int | |
| private boolean | |
| private int | produced
This field is set by the native call to represent the number of bytes produced into the target buffer. |
| protected ByteBuffer | |
| protected long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| pack-priv abstract long | |
| pack-priv abstract long | decompressStream(long stream, ByteBuffer dst, int dstOffset, int dstSize, ByteBuffer src, int srcOffset, int srcSize)
|
| pack-priv abstract long | |
| public boolean | |
| pack-priv abstract long | |
| public abstract int | Returns: the number of bytes read into the target buffer.buffer to store the read bytes from uncompressed stream. target)Reads the content of the de-compressed stream into the target buffer. |
| pack-priv int | |
| protected ByteBuffer | Returns: either the current buffer (but refilled and flipped if there was new content) or a new buffer.current buffer toRefill)Override this method in case the byte buffer passed to the constructor might not contain the full compressed stream |
| public BaseZstdBufferDecompressingStreamNoFinalizer | |
| public BaseZstdBufferDecompressingStreamNoFinalizer | |
| public BaseZstdBufferDecompressingStreamNoFinalizer | Returns: this instance ofBaseZstdBufferDecompressingStreamNoFinalizerwindow size in bytes windowLogMax)Set the value of zstd parameter |
| closed | back to summary |
|---|---|
| protected boolean closed | |
| consumed | back to summary |
|---|---|
| private int consumed This field is set by the native call to represent the number of bytes consumed from | |
| finishedFrame | back to summary |
|---|---|
| private boolean finishedFrame | |
| produced | back to summary |
|---|---|
| private int produced This field is set by the native call to represent the number of bytes produced into the target buffer. | |
| source | back to summary |
|---|---|
| protected ByteBuffer source | |
| stream | back to summary |
|---|---|
| protected long stream | |
| streamEnd | back to summary |
|---|---|
| private boolean streamEnd | |
| BaseZstdBufferDecompressingStreamNoFinalizer | back to summary |
|---|---|
| pack-priv BaseZstdBufferDecompressingStreamNoFinalizer(ByteBuffer source) | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| createDStream | back to summary |
|---|---|
| pack-priv abstract long createDStream() | |
| decompressStream | back to summary |
|---|---|
| pack-priv abstract long decompressStream(long stream, ByteBuffer dst, int dstOffset, int dstSize, ByteBuffer src, int srcOffset, int srcSize) | |
| freeDStream | back to summary |
|---|---|
| pack-priv abstract long freeDStream(long stream) | |
| hasRemaining | back to summary |
|---|---|
public boolean hasRemaining()
| |
| initDStream | back to summary |
|---|---|
| pack-priv abstract long initDStream(long stream) | |
| read | back to summary |
|---|---|
| public abstract int read(ByteBuffer target) throws IOException Reads the content of the de-compressed stream into the target buffer. This method will block until the chunk of compressed data stored in To read the full stream of decompressed data, this method should be called in a loop while The target buffer will be written starting from
| |
| readInternal | back to summary |
|---|---|
| pack-priv int readInternal(ByteBuffer target, boolean isDirectBufferRequired) throws IOException | |
| refill | back to summary |
|---|---|
| protected ByteBuffer refill(ByteBuffer toRefill) Override this method in case the byte buffer passed to the constructor might not contain the full compressed stream
| |
| setDict | back to summary |
|---|---|
| public BaseZstdBufferDecompressingStreamNoFinalizer setDict(byte[] dict) throws IOException | |
| setDict | back to summary |
|---|---|
| public BaseZstdBufferDecompressingStreamNoFinalizer setDict(ZstdDictDecompress dict) throws IOException | |
| setLongMax | back to summary |
|---|---|
| public BaseZstdBufferDecompressingStreamNoFinalizer setLongMax(int windowLogMax) throws IOException Set the value of zstd parameter
| |