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