Class LZ4FrameOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class LZ4FrameOutputStream extends FilterOutputStream
Implementation of the v1.5.1 LZ4 Frame format. This class is NOT thread safe.

Not Supported:

  • Dependent blocks
  • Legacy streams
  • Multiple frames (one LZ4FrameOutputStream is one frame)

Originally based on kafka's KafkaLZ4BlockOutputStream.

See Also: