Lz4Sequence structs describing the compressed
representation. The final sequence will have matchLen == 0.
Find sequences using a greedy match-finding algorithm.
This implements the core LZ4 greedy compression strategy:
The algorithm ensures the last LZ4_MIN_MATCH bytes are emitted as literals (LZ4 format requirement for safe decoding).
src | Input data to compress. |
hashBits | Number of hash bits for the table (determines table size). |
Lz4Sequence structs describing the compressed
representation. The final sequence will have matchLen == 0.