public interface Compression
Modifier and Type | Method and Description |
---|---|
default byte[] |
compress(byte[] bytes) |
default void |
compress(Bytes from,
Bytes to) |
static <T> void |
compress(CharSequence cs,
Bytes uncompressed,
Bytes compressed) |
OutputStream |
compressingStream(OutputStream output) |
InputStream |
decompressingStream(InputStream input) |
default byte[] |
uncompress(byte[] bytes) |
default void |
uncompress(Bytes from,
Bytes to) |
static <T> byte[] |
uncompress(CharSequence cs,
T t,
java.util.function.Function<T,byte[]> bytes) |
default byte[] compress(byte[] bytes) throws net.openhft.chronicle.core.io.IORuntimeException
net.openhft.chronicle.core.io.IORuntimeException
default void compress(Bytes from, Bytes to) throws net.openhft.chronicle.core.io.IORuntimeException
net.openhft.chronicle.core.io.IORuntimeException
default byte[] uncompress(byte[] bytes) throws net.openhft.chronicle.core.io.IORuntimeException
net.openhft.chronicle.core.io.IORuntimeException
InputStream decompressingStream(InputStream input)
OutputStream compressingStream(OutputStream output)
static <T> void compress(CharSequence cs, Bytes uncompressed, Bytes compressed)
@Nullable static <T> byte[] uncompress(CharSequence cs, T t, java.util.function.Function<T,byte[]> bytes)
Copyright © 2015. All rights reserved.