chore: refractor

This commit is contained in:
2026-01-08 22:58:58 +02:00
parent da7de7b08a
commit 2c41f40151
49 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
--Deflate.lua
--iiau, Sat May 18 2024
local Deflate = {}
local LZW = require(script.LZW)
local Huffman = require(script.Huffman)
Deflate.encode = function(data: string) : string
data = LZW.compress(data)
return Huffman.encode(data)
end
Deflate.decode = function(data: string) : string
data = Huffman.decode(data)
return LZW.decompress(data)
end
return Deflate