That should settle your case.
var bytes = [0x1F.uint8, 0xC2]
swap(bytes[1], bytes[0])
echo bytes
Run
- Assigning array to itself with different order matkuki
- Assigning array to itself with different order doofenstein
- Assigning array to itself with different order shirleyquirk
- Assigning array to itself with different order matkuki
- Assigning array to itself with different ord... rockcavera
