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