fn getUInt(fv: FormValue, comptime U: type) !U
fv: FormValue
U: type
198 199 200 201 202 203 204 205 206
fn getUInt(fv: FormValue, comptime U: type) !U { return switch (fv) { inline .udata, .sdata, .sec_offset, => |c| cast(U, c) orelse bad(), else => bad(), }; }