Pike v8.1 release 6

Method Int.swap_long()


Method swap_long

int(32bit) swap_long(int(32bit) i)

Description

Swaps the upper and lower word in a longword, and the upper and lower bytes in the words. Simply put, the bytes are reversed.

See also

swap_word()