formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Memory
Description
Swaps byte order of 2 bytes. This is useful for switching between endian byte order of a 2 byte value
Plugin Prototype
fzrt_error_td fzrt_endian_swap_2_bytes(
void * | data ) |
Parameters
data [Input, Result]
pointer to 2 bytes to swap, contains swapped value on exit
Returns
FZRT_NOERR on success, otherwise an error ID
Availability
5.0.0.0
See Also
Function Set
Defined in