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