3 lines
66 B
Plaintext
Raw Normal View History

2025-02-17 14:31:47 +01:00
htons(num int) -> int {
return ((num & 0xFF) << 8) | (num >> 8)
}