When input data is very large, compressing it as a single block is inconvenient.
Furthermore, there is a need for many systems to compress data in an interoperable ways.
For both objectives, a Frame format has been specified, and is now provided within library lz4frame.
The frame format is documented here :