Module kala.compress.base
Package kala.compress.utils
Provides utilities used internally by the compress library.
-
Interface Summary Interface Description ByteUtils.ByteConsumer Used to consume bytes.ByteUtils.ByteSupplier Used to supply bytes.InputStreamStatistics This interface provides statistics on the current decompression stream. -
Class Summary Class Description ArchiveUtils Generic Archive utilitiesArrayFill Fills and returns arrays in the fluent style.BitInputStream Reads bits from an InputStream.BoundedArchiveInputStream NIO backed bounded input stream for reading a predefined amount of data from.BoundedInputStream A stream that limits reading from a wrapped stream to a given number of bytes.BoundedSeekableByteChannelInputStream InputStream that delegates requests to the underlying SeekableByteChannel, making sure that only bytes from a certain range can be read.ByteUtils Utility methods for reading and writing bytes.ByteUtils.OutputStreamByteConsumer ByteUtils.ByteConsumerbased onOutputStream.Charsets Utility methods for charsets.ChecksumVerifyingInputStream Verifies the checksum of the data read once the stream is exhausted.CloseShieldFilterInputStream Re-implementsFilterInputStream.close()to do nothing.CountingInputStream Input stream that tracks the number of bytes read.CountingOutputStream Stream that tracks the number of bytes read.CRC32VerifyingInputStream A stream that verifies the CRC of the data read once the stream is exhausted.ExactMath PRIVATE.FileNameUtils Generic file name utilities.FixedLengthBlockOutputStream This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.FixedLengthBlockOutputStream.BufferAtATimeOutputChannel Helper class to provide channel wrapper for arbitrary output stream that doesn't alter the size of writes.FlushShieldFilterOutputStream Re-implementsFilterOutputStream.flush()to do nothing.IOUtils Utility functions.MultiReadOnlySeekableByteChannel Implements a read-onlySeekableByteChannelthat concatenates a collection of otherSeekableByteChannels.ParsingUtils Utility methods for parsing data and converting it to other formats.SeekableInMemoryByteChannel ASeekableByteChannelimplementation that wraps a byte[].Sets Set utilitiesTimeUtils Utility class for handling time-related types and conversions.