compressBlock
private fn
ubyte[] compressBlock(const(ubyte)[] src, int level)Compress a single block using LZO1X algorithm.
This is the GC-friendly entry point that delegates to the fast pointer-based implementation (compressBlockFast) internally.
Parameters
src | Source data to compress. |
level | Compression level (0-9). |
Returns
Compressed data as a ubyte array.