# Package org.apache.commons.compress.utils

Contains utilities used internally by the compress library.

See: Description

- 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 utilities
  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.InputStreamByteSupplier | `ByteUtils.ByteSupplier` based on `InputStream`.
  ByteUtils.OutputStreamByteConsumer | `ByteUtils.ByteConsumer` based on `OutputStream`.
  CharsetNames | Character encoding names required of every implementation of the Java platform.
  Charsets | Charsets required of every implementation of the Java platform.
  ChecksumCalculatingInputStream | A stream that calculates the checksum of the data read.
  ChecksumVerifyingInputStream | A stream that verifies the checksum of the data read once the stream is exhausted.
  CloseShieldFilterInputStream | Re-implements `FilterInputStream.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.
  FileNameUtils | Generic file name utilities.
  FixedLengthBlockOutputStream | This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.
  FlushShieldFilterOutputStream | Re-implements `FilterOutputStream.flush()` to do nothing.
  IOUtils | Utility functions
  Iterators | Iterator utilities.
  Lists | List utilities
  MultiReadOnlySeekableByteChannel | Read-Only Implementation of `SeekableByteChannel` that concatenates a collection of other `SeekableByteChannel`s.
  OsgiUtils | Utilities for dealing with OSGi environments.
  SeekableInMemoryByteChannel | A `SeekableByteChannel` implementation that wraps a byte[].
  ServiceLoaderIterator<E> | Iterates all services for a given class through the standard `ServiceLoader` mechanism.
  Sets | Set utilities
  SkipShieldingInputStream | A wrapper that overwrites `SkipShieldingInputStream.skip(long)` and delegates to `FilterInputStream.read()` instead.

## Package org.apache.commons.compress.utils Description

Contains utilities used internally by the compress library.

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.