ws-arch: codecs/Bzip2 (bzip2 decompressor: Huffman groups, MTF/RUNA/RUNB, inverse BWT, RLE1, block + stream CRCs, concatenated streams) + archive/bz2 (single-stream archive); tests vs Python bz2 (libbzip2) on both runtimes

This commit is contained in:
4DBug committed 2026-10-31 08:27:55 -05:00
1 parent 69c69c8264
commit 65976a9a39
8 files changed
+921

No files matched your search

+12
View File
@@ -26,6 +26,18 @@ local list: { Entry } = {
return require("@formats/image/png")
end,
},
{
name = "bz2",
category = "archive",
path = "archive/bz2",
extensions = { "bz2", "tbz2", "tbz" },
mime = { "application/x-bzip2" },
deps = { "core/Err", "core/Bytes", "containers/Archive", "codecs/Bzip2" },
caps = { decode = true, encode = false, stream = true },
load = function()
return require("@formats/archive/bz2")
end,
},
}
return list