Skip to content

MTY_Swap16

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Get the bytes of a 16-bit integer in reverse order.

uint16_t MTY_Swap16(
    uint16_t value
);

Parameters

value (uint16_t)

Value to swap.

Return value

uint16_t

Bytes of a 16-bit integer in reverse order.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Memory

Clone this wiki locally