Registry / utility / lzo
library2.10vcpkgunverified

Lossless data compression library.

vcpkg install lzo
INSTALL
IMPORT
SIG · LZO
L
lzo
utilitycppv2.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lzo/lzo1x.h
✓ #include <lzo/lzo1x.h>

Compress a string with LZO1X

#include <lzo/lzo1x.h> #include <cstring> int main() { lzo_bytep in = (lzo_bytep)"Hello, world!"; lzo_uint in_len = strlen((char*)in); lzo_bytep out = new lzo_byte[in_len * 2]; lzo_uint out_len; lzo_init(); lzo1x_1_compress(in, in_len, out, &out_len, nullptr); delete[] out; return 0; }
Debug
Known issues
gotchaLZO requires calling lzo_init() before any compression/decompression.
fix
Always call lzo_init() at program startup.
affects: *
Upgrade
Version history
2.10latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

lzo — pip install lzo · libregistry