Module kala.compress.base
Package kala.compress.utils
package kala.compress.utils
Provides utilities used internally by the compress library.
-
ClassDescriptionGeneric Archive utilitiesFills and returns arrays in the fluent style.Reads bits from an InputStream.NIO backed bounded input stream for reading a predefined amount of data from.A stream that limits reading from a wrapped stream to a given number of bytes.InputStream that delegates requests to the underlying SeekableByteChannel, making sure that only bytes from a certain range can be read.Utility methods for reading and writing bytes.Used to consume bytes.Used to supply bytes.
ByteUtils.ByteConsumerbased onOutputStream.Utility methods for charsets.Verifies the checksum of the data read once the stream is exhausted.Re-implementsFilterInputStream.close()to do nothing.Input stream that tracks the number of bytes read.Stream that tracks the number of bytes read.A stream that verifies the CRC of the data read once the stream is exhausted.PRIVATE.Generic file name utilities.This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.Helper class to provide channel wrapper for arbitrary output stream that doesn't alter the size of writes.Re-implementsFilterOutputStream.flush()to do nothing.This interface provides statistics on the current decompression stream.Utility functions.Implements a read-onlySeekableByteChannelthat concatenates a collection of otherSeekableByteChannels.Utility methods for parsing data and converting it to other formats.ASeekableByteChannelimplementation that wraps a byte[].Set utilitiesUtility class for handling time-related types and conversions.