mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-05 05:27:58 +08:00
7 lines
165 B
Forth
7 lines
165 B
Forth
assert(is_little())
|
|
assert(htonl(0x11223344) == 0x44332211)
|
|
assert(ntohl(0x11223344) == 0x44332211)
|
|
assert(htons(0x1122) == 0x2211)
|
|
assert(ntohs(0x1122) == 0x2211)
|
|
|