Skip navigation links
A B C D F G H I L M N R S T V W Z 

A

addSample(byte[]) - Method in class com.github.luben.zstd.ZstdDictTrainer
 
available() - Method in class com.github.luben.zstd.ZstdInputStream
 

B

blockSizeMax() - Static method in class com.github.luben.zstd.Zstd
 

C

chainLogMax() - Static method in class com.github.luben.zstd.Zstd
 
chainLogMin() - Static method in class com.github.luben.zstd.Zstd
 
close() - Method in class com.github.luben.zstd.ZstdDictCompress
 
close() - Method in class com.github.luben.zstd.ZstdDictDecompress
 
close() - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
close() - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
close() - Method in class com.github.luben.zstd.ZstdInputStream
 
close() - Method in class com.github.luben.zstd.ZstdOutputStream
 
com.github.luben.zstd - package com.github.luben.zstd
 
com.github.luben.zstd.util - package com.github.luben.zstd.util
 
compress(byte[], byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst'.
compress(byte[]) - Static method in class com.github.luben.zstd.Zstd
Compresses the data in buffer 'src' using defaul compression level
compress(byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses the data in buffer 'src'
compress(ByteBuffer, ByteBuffer) - Static method in class com.github.luben.zstd.Zstd
Compresses the data in buffer 'srcBuf' using default compression level
compress(ByteBuffer, ByteBuffer, int) - Static method in class com.github.luben.zstd.Zstd
Compresses the data in buffer 'srcBuf'
compress(ByteBuffer, int) - Static method in class com.github.luben.zstd.Zstd
Compresses the data in buffer 'srcBuf'
compress(byte[], ZstdDictCompress) - Static method in class com.github.luben.zstd.Zstd
Compresses the data in buffer 'src'
compress(byte[], byte[], byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compress(ByteBuffer, ByteBuffer, byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compress(ByteBuffer, byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compress(ByteBuffer, ByteBuffer, ZstdDictCompress) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compress(ByteBuffer, ZstdDictCompress) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compress(ByteBuffer) - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
compressBound(long) - Static method in class com.github.luben.zstd.Zstd
Maximum size of the compressed data
compressByteArray(byte[], int, int, byte[], int, int, int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst'.
compressDirectByteBuffer(ByteBuffer, int, int, ByteBuffer, int, int, int) - Static method in class com.github.luben.zstd.Zstd
Compresses direct buffer 'src' into direct buffer 'dst'.
compressDirectByteBufferFastDict(ByteBuffer, int, int, ByteBuffer, int, int, ZstdDictCompress) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compressDirectByteBufferUsingDict(ByteBuffer, int, int, ByteBuffer, int, int, byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses direct byte buffer 'src' into direct byte buffer 'dst' with dictionary.
compressFastDict(byte[], int, byte[], int, int, ZstdDictCompress) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compressUnsafe(long, long, long, long, int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into direct buffer 'dst'.
compressUsingDict(byte[], int, byte[], int, int, byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' into buffer 'dst' with dictionary.
compressUsingDict(byte[], byte[], byte[], int) - Static method in class com.github.luben.zstd.Zstd
Deprecated.
Use compress(dst, src, dict, level) instead
compressUsingDict(byte[], byte[], int) - Static method in class com.github.luben.zstd.Zstd
Compresses buffer 'src' with dictionary.

D

decompress(byte[], byte[]) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst'.
decompress(byte[], int) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(ByteBuffer, ByteBuffer) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(ByteBuffer, int) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(byte[], ZstdDictDecompress, int) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(byte[], byte[], byte[]) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst' with dictionary.
decompress(byte[], byte[], int) - Static method in class com.github.luben.zstd.Zstd
 
decompress(ByteBuffer, ByteBuffer, byte[]) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(ByteBuffer, byte[], int) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(ByteBuffer, ByteBuffer, ZstdDictDecompress) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompress(ByteBuffer, ZstdDictDecompress, int) - Static method in class com.github.luben.zstd.Zstd
Decompress data
decompressByteArray(byte[], int, int, byte[], int, int) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst'.
decompressDirectByteBuffer(ByteBuffer, int, int, ByteBuffer, int, int) - Static method in class com.github.luben.zstd.Zstd
Decompresses direct buffer 'src' into direct buffer 'dst'.
decompressDirectByteBufferFastDict(ByteBuffer, int, int, ByteBuffer, int, int, ZstdDictDecompress) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst' with dictionary.
decompressDirectByteBufferUsingDict(ByteBuffer, int, int, ByteBuffer, int, int, byte[]) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst' with dictionary.
decompressedDirectByteBufferSize(ByteBuffer, int, int) - Static method in class com.github.luben.zstd.Zstd
Return the original size of a compressed buffer (if known)
decompressedSize(byte[]) - Static method in class com.github.luben.zstd.Zstd
Return the original size of a compressed buffer (if known)
decompressedSize(ByteBuffer) - Static method in class com.github.luben.zstd.Zstd
Return the original size of a compressed buffer (if known)
decompressFastDict(byte[], int, byte[], int, int, ZstdDictDecompress) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst' with dictionary.
decompressUnsafe(long, long, long, long) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into direct buffer 'dst'.
decompressUsingDict(byte[], int, byte[], int, int, byte[]) - Static method in class com.github.luben.zstd.Zstd
Decompresses buffer 'src' into buffer 'dst' with dictionary.
decompressUsingDict(byte[], byte[], byte[]) - Static method in class com.github.luben.zstd.Zstd
Deprecated.
Use decompress(dst, src, dict) instead

F

finalize() - Method in class com.github.luben.zstd.ZstdDictCompress
 
finalize() - Method in class com.github.luben.zstd.ZstdDictDecompress
 
finalize() - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
finalize() - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
finalize() - Method in class com.github.luben.zstd.ZstdInputStream
 
finalize() - Method in class com.github.luben.zstd.ZstdOutputStream
 
flush() - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
flush() - Method in class com.github.luben.zstd.ZstdOutputStream
Flushes the output
flushBuffer(ByteBuffer) - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
This method should flush the buffer and either return the same buffer (but cleared) or a new buffer that should be used from then on.
frameHeaderSizeMax() - Static method in class com.github.luben.zstd.Zstd
 
frameHeaderSizeMin() - Static method in class com.github.luben.zstd.Zstd
 

G

getContinuous() - Method in class com.github.luben.zstd.ZstdInputStream
 
getDictIdFromDict(byte[]) - Static method in class com.github.luben.zstd.Zstd
Get DictId of a dictionary
getDictIdFromFrame(byte[]) - Static method in class com.github.luben.zstd.Zstd
Get DictId from a compressed frame
getDictIdFromFrameBuffer(ByteBuffer) - Static method in class com.github.luben.zstd.Zstd
Get DictId from a compressed ByteBuffer frame
getErrorName(long) - Static method in class com.github.luben.zstd.Zstd
 

H

hashLogMax() - Static method in class com.github.luben.zstd.Zstd
 
hashLogMin() - Static method in class com.github.luben.zstd.Zstd
 
hasRemaining() - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 

I

isError(long) - Static method in class com.github.luben.zstd.Zstd
Error handling
isLoaded() - Static method in enum com.github.luben.zstd.util.Native
 

L

load() - Static method in enum com.github.luben.zstd.util.Native
 
load(File) - Static method in enum com.github.luben.zstd.util.Native
 

M

magicNumber() - Static method in class com.github.luben.zstd.Zstd
 
markSupported() - Method in class com.github.luben.zstd.ZstdInputStream
 

N

Native - Enum in com.github.luben.zstd.util
 

R

read(ByteBuffer) - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
read(byte[], int, int) - Method in class com.github.luben.zstd.ZstdInputStream
 
read() - Method in class com.github.luben.zstd.ZstdInputStream
 
recommendedOutputBufferSize() - Static method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
recommendedTargetBufferSize() - Static method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
refill(ByteBuffer) - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
Override this method in case the byte buffer passed to the constructor might not contain the full compressed stream

S

searchLengthMax() - Static method in class com.github.luben.zstd.Zstd
 
searchLengthMin() - Static method in class com.github.luben.zstd.Zstd
 
searchLogMax() - Static method in class com.github.luben.zstd.Zstd
 
searchLogMin() - Static method in class com.github.luben.zstd.Zstd
 
setChecksum(boolean) - Method in class com.github.luben.zstd.ZstdOutputStream
 
setContinuous(boolean) - Method in class com.github.luben.zstd.ZstdInputStream
Don't break on unfinished frames Use case: decompressing files that are not yet finished writing and compressing
setDict(byte[]) - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
setDict(ZstdDictCompress) - Method in class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
setDict(byte[]) - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
setDict(ZstdDictDecompress) - Method in class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
setDict(byte[]) - Method in class com.github.luben.zstd.ZstdInputStream
 
setDict(ZstdDictDecompress) - Method in class com.github.luben.zstd.ZstdInputStream
 
setDict(byte[]) - Method in class com.github.luben.zstd.ZstdOutputStream
 
setDict(ZstdDictCompress) - Method in class com.github.luben.zstd.ZstdOutputStream
 
skip(long) - Method in class com.github.luben.zstd.ZstdInputStream
 

T

trainFromBuffer(byte[][], byte[], boolean) - Static method in class com.github.luben.zstd.Zstd
Creates a new dictionary to tune a kind of samples
trainFromBuffer(byte[][], byte[]) - Static method in class com.github.luben.zstd.Zstd
Creates a new dictionary to tune a kind of samples (uses Cover algorithm)
trainFromBufferDirect(ByteBuffer, int[], ByteBuffer, boolean) - Static method in class com.github.luben.zstd.Zstd
Creates a new dictionary to tune a kind of samples
trainFromBufferDirect(ByteBuffer, int[], ByteBuffer) - Static method in class com.github.luben.zstd.Zstd
Creates a new dictionary to tune a kind of samples (uses Cover algorithm)
trainSamples() - Method in class com.github.luben.zstd.ZstdDictTrainer
 
trainSamples(boolean) - Method in class com.github.luben.zstd.ZstdDictTrainer
 
trainSamplesDirect() - Method in class com.github.luben.zstd.ZstdDictTrainer
 
trainSamplesDirect(boolean) - Method in class com.github.luben.zstd.ZstdDictTrainer
 

V

valueOf(String) - Static method in enum com.github.luben.zstd.util.Native
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.luben.zstd.util.Native
Returns an array containing the constants of this enum type, in the order they are declared.

W

windowLogMax() - Static method in class com.github.luben.zstd.Zstd
 
windowLogMin() - Static method in class com.github.luben.zstd.Zstd
 
write(byte[], int, int) - Method in class com.github.luben.zstd.ZstdOutputStream
 
write(int) - Method in class com.github.luben.zstd.ZstdOutputStream
 

Z

Zstd - Class in com.github.luben.zstd
 
Zstd() - Constructor for class com.github.luben.zstd.Zstd
 
ZstdDictCompress - Class in com.github.luben.zstd
 
ZstdDictCompress(byte[], int) - Constructor for class com.github.luben.zstd.ZstdDictCompress
Convenience constructor to create a new dictionary for use with fast compress
ZstdDictCompress(byte[], int, int, int) - Constructor for class com.github.luben.zstd.ZstdDictCompress
Create a new dictionary for use with fast compress
ZstdDictDecompress - Class in com.github.luben.zstd
 
ZstdDictDecompress(byte[]) - Constructor for class com.github.luben.zstd.ZstdDictDecompress
Convenience constructor to create a new dictionary for use with fast decompress
ZstdDictDecompress(byte[], int, int) - Constructor for class com.github.luben.zstd.ZstdDictDecompress
Create a new dictionary for use with fast decompress
ZstdDictTrainer - Class in com.github.luben.zstd
 
ZstdDictTrainer(int, int) - Constructor for class com.github.luben.zstd.ZstdDictTrainer
 
ZstdDirectBufferCompressingStream - Class in com.github.luben.zstd
 
ZstdDirectBufferCompressingStream(ByteBuffer, int) - Constructor for class com.github.luben.zstd.ZstdDirectBufferCompressingStream
 
ZstdDirectBufferDecompressingStream - Class in com.github.luben.zstd
 
ZstdDirectBufferDecompressingStream(ByteBuffer) - Constructor for class com.github.luben.zstd.ZstdDirectBufferDecompressingStream
 
ZstdInputStream - Class in com.github.luben.zstd
InputStream filter that decompresses the data provided by the underlying InputStream using Zstd compression.
ZstdInputStream(InputStream) - Constructor for class com.github.luben.zstd.ZstdInputStream
 
ZstdOutputStream - Class in com.github.luben.zstd
OutputStream filter that compresses the data using Zstd compression
ZstdOutputStream(OutputStream, int, boolean, boolean) - Constructor for class com.github.luben.zstd.ZstdOutputStream
 
ZstdOutputStream(OutputStream, int, boolean) - Constructor for class com.github.luben.zstd.ZstdOutputStream
 
ZstdOutputStream(OutputStream, int) - Constructor for class com.github.luben.zstd.ZstdOutputStream
 
ZstdOutputStream(OutputStream) - Constructor for class com.github.luben.zstd.ZstdOutputStream
 
A B C D F G H I L M N R S T V W Z 
Skip navigation links