Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method Int.swap_word()


Method swap_word

int(16bit) swap_word(int(16bit) i)

Description

Swaps the upper and lower byte in a word.

See also

swap_long()