Registry / utility / lzokay

lzokay

JSON →
library2023-10-22vcpkgunverified

lzokay – MIT licensed C++ implementation of LZO compression/decompression algorithm

vcpkg install lzokay
INSTALL
IMPORT
SIG · LZOKAY
L
lzokay
utilitycppv2023-10-22
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.

lzokay.hpp
#include <lzokay.hpp>

Compresses and decompresses a small buffer using LZO

#include <lzokay.hpp> #include <vector> #include <cassert> int main() { std::vector<uint8_t> input = {'H', 'e', 'l', 'l', 'o'}; std::vector<uint8_t> compressed(lzokay::compress_bound(input.size())); std::size_t compressed_size; lzokay::compress(input.data(), input.size(), compressed.data(), compressed_size); compressed.resize(compressed_size); std::vector<uint8_t> decompressed(input.size()); lzokay::decompress(compressed.data(), compressed_size, decompressed.data(), input.size()); assert(decompressed == input); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2023-10-22latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

lzokay — pip install lzokay · libregistry