Class LZ4CompressingInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class LZ4CompressingInputStream
    extends BufferedDelegateInputStream
    InputStream that wraps a delegate InputStream, compressing its contents as they are read. Compression is managed via a compressing OutputStream. Reads pull data as necessary from the delegate InputStream, write the uncompressed data through the OutputStream, then serve the read from the resulting compressed buffer.