Directory table parsing

This commit is contained in:
Caleb Gardner
2025-05-14 22:23:17 -05:00
parent 5daffdafc7
commit e010763fc6
5 changed files with 78 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ pub const CompressionType = enum(u16) {
lz4,
zstd,
pub fn Decompress(self: CompressionType, alloc: std.mem.Allocator, rdr: std.io.AnyReader) ![]u8 {
pub fn decompress(self: CompressionType, alloc: std.mem.Allocator, rdr: std.io.AnyReader) ![]u8 {
var out = std.ArrayList(u8).init(alloc);
defer out.deinit();
switch (self) {