Extracted from Pike v8.0 release 276 as of 2016-07-29.
   

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()