Class LZ4FrameInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class LZ4FrameInputStream extends FilterInputStream
Implementation of the v1.5.1 LZ4 Frame format. This class is NOT thread safe. Once a read fails with an IOException, every later read or skip on this stream throws an IOException as well.

Not Supported:

  • Dependent blocks
  • Legacy streams

Originally based on kafka's KafkaLZ4BlockInputStream.

See Also: