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

fzrt_endian_swap_4_bytes

Description

Swaps byte order of 4 bytes. This will swap 4 bytes of memory, useful for switch endian byte order of a fzrt_int integer

Plugin Prototype

fzrt_error_td fzrt_endian_swap_4_bytes(

void *

data )

Parameters

data [Input, Result]

pointer to 4 bytes 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