compress

Compresses input using LZ11.

Uses greedy matching via LzCommon.findBestMatch. Selects the shortest token tier that can encode the match length.

Return

A valid LZ11 stream, starting with the 0x11 magic byte.

Parameters

input

The raw data to compress.