public class ZstdStreams
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ZstdStreams.ZstdScalityException |
Modifier and Type | Method and Description |
---|---|
static com.google.common.io.CountingInputStream |
compress(java.io.File source)
The returned input stream provides zstd-compressed data stream for the given
source file
|
static java.io.OutputStream |
decompress(java.nio.file.Path target)
The returned output stream will apply zstd decompression before writing to
the given path
|
public static com.google.common.io.CountingInputStream compress(java.io.File source)
source
- public static java.io.OutputStream decompress(java.nio.file.Path target)
target
- Copyright © 2022. All Rights Reserved.