This commit is contained in:
zxc
2026-09-10 18:52:30 +03:00
parent 00436d6847
commit e22570be2b
14 changed files with 26 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
unsigned short swap_bytes(unsigned short n) {
return ((n & 0x1234) << 8) | ((n & 0x3412) >> 8);
}