Reverses the byte order of input where it is stored, the in-place form of byte_swap.
value: u32 = 0xAABBCCDD;
byte_swap_in_place(*value);
assert(value == 0xDDCCBBAA);byte_swap_in_place :: (input: *$T)
Parameters
- input: *$T
Reverses the byte order of input where it is stored, the in-place form of byte_swap.
value: u32 = 0xAABBCCDD;
byte_swap_in_place(*value);
assert(value == 0xDDCCBBAA);byte_swap_in_place :: (input: *$T)