1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-11-15 15:08:05 +11:00
OC-KittenOS/inst/uncompressed/compress.lua
2020-03-31 13:23:52 +01:00

11 lines
307 B
Lua

-- 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)
return lexCrunch.process(" $engineInput = $engineOutput ", {}), data
end