formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory

fzrt_endian_swap_ushort

Description

Swaps byte order of an unsigned short integer. This is useful for switching between endian byte order of a unsigned short integer

Plugin Prototype

fzrt_error_td fzrt_endian_swap_ushort(

unsigned short *

data )

Parameters

data [Input, Result]

pointer to unsigned short to swap, contains swapped value on exit

Returns

FZRT_NOERR on success, otherwise an error ID

Availability

5.0.0.0

See Also

, fzrt_endian_swap_long

Function Set

fz_fzrt_mem_fset


Defined in

fzrt_api.h