fn big(x: anytype) @TypeOf(x)
x
1346 1347 1348 1349 1350 1351
fn big(x: anytype) @TypeOf(x) { return switch (native_endian) { .big => x, .little => @byteSwap(x), }; }