swapchars

Syntax

native swapchars(c);

Usage

c
Value to swap

Description

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

Return

Byte-swapped value