Package | Description |
---|---|
org.waarp.compress |
This package contains different compression implementations.
|
org.waarp.compress.zlib |
ZLIB native JRE implementation
|
org.waarp.compress.zstdjni |
ZSTD JNI implementation based on https://github.com/luben/zstd-jni
|
org.waarp.compress.zstdsafe |
ZSTD Safe implementation based on https://github.com/airlift/aircompressor
without Unsafe usage
|
org.waarp.compress.zstdunsafe |
ZSTD Unsafe implementation based on https://github.com/airlift/aircompressor
|
Modifier and Type | Method and Description |
---|---|
byte[] |
CompressorCodec.compress(byte[] input,
int inputLength) |
int |
CompressorCodec.compress(byte[] input,
int inputLength,
byte[] output,
int maxOutputLength) |
long |
WaarpZstdCodec.compress(File input,
File output)
Compress the file input to the file output
|
long |
CompressorCodec.compress(File input,
File output)
Compress the file input to the file output
|
byte[] |
CompressorCodec.decompress(byte[] input,
int length) |
int |
CompressorCodec.decompress(byte[] input,
int inputLength,
byte[] output,
int maxOutputLength) |
long |
WaarpZstdCodec.decompress(File input,
File output)
Decompress the file input to the file output
|
long |
CompressorCodec.decompress(File input,
File output)
Decompress the file input to the file output
|
Modifier and Type | Method and Description |
---|---|
int |
ZlibCodec.compress(byte[] input,
int inputLength,
byte[] output,
int maxOutputLength) |
long |
ZlibCodec.compress(File input,
File output) |
byte[] |
ZlibCodec.decompress(byte[] compressed,
int length) |
int |
ZlibCodec.decompress(byte[] input,
int inputLength,
byte[] output,
int maxOutputLength) |
long |
ZlibCodec.decompress(File input,
File output) |
Modifier and Type | Method and Description |
---|---|
byte[] |
ZstdJniCodec.compress(byte[] input,
int length) |
long |
ZstdJniCodec.compress(File input,
File output) |
byte[] |
ZstdJniCodec.decompress(byte[] compressed,
int length) |
long |
ZstdJniCodec.decompress(File input,
File output) |
Modifier and Type | Method and Description |
---|---|
long |
ZstdSafeCodec.compress(File input,
File output) |
byte[] |
ZstdSafeCodec.decompress(byte[] input,
int length) |
int |
ZstdSafeCodec.decompress(byte[] input,
int inputLength,
byte[] output,
int maxOutputLength) |
long |
ZstdSafeCodec.decompress(File input,
File output) |
Modifier and Type | Method and Description |
---|---|
long |
ZstdUnsafeCodec.compress(File input,
File output) |
byte[] |
ZstdUnsafeCodec.decompress(byte[] input,
int length) |
int |
ZstdUnsafeCodec.decompress(byte[] input,
int inputLength,
byte[] output,
int maxOutputLength) |
long |
ZstdUnsafeCodec.decompress(File input,
File output) |
Copyright © 2009–2022 Waarp. All rights reserved.