native

swapchars

Syntax

native swapchars(c);

Description

Swaps the bytes of a value (the lowest byte becomes the highest byte).

Parameters

c Value to swap

Return

Byte-swapped value