fn getCode(self: *Decode, comptime choice: WhichFse) u32
TODO: don't use @field
@field
self: *Decode
choice: WhichFse
895 896 897 898 899 900
fn getCode(self: *Decode, comptime choice: WhichFse) u32 { return switch (@field(self, @tagName(choice)).table) { .rle => |value| value, .fse => |table| table[@field(self, @tagName(choice)).state].symbol, }; }
TODO: don't use
@field