const BlockHeader = packed struct(u3)
const BlockHeader = packed struct(u3) { final: bool, kind: enum(u2) { stored, fixed, dynamic, _ }, pub fn int(h: BlockHeader) u3 { return @bitCast(h); } pub const Dynamic = packed struct(u17) { regular: BlockHeader, hlit: u5, hdist: u5, hclen: u4, pub fn int(h: Dynamic) u17 { return @bitCast(h); } }; }