1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-11-27 12:58:05 +11:00
OC-KittenOS/inst/uncompressed/compress.lua

11 lines
307 B
Lua
Raw Normal View History

-- This is released into the public domain.
-- No warranty is provided, implied or otherwise.
-- Example compression engine.
-- Given: data, lexCrunch
-- returns compressionEngine, compressedData
return function (data, lexCrunch)
2020-03-31 22:41:08 +11:00
return lexCrunch.process(" $engineInput = $engineOutput ", {}), data
end