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

# fzrt_endian_swap_n_floats

Description

Swaps byte order of an array floating point numbers.

Plugin Prototype

fzrt_error_td fzrt_endian_swap_n_floats(

float * | data,
fzrt_int | num_floats )

Parameters

data [Input, Result]

pointer to array of floats to swap, contains swapped values on exit

num_floats [Input]

number of floats to swap

Returns

FZRT_NOERR on success, otherwise an error ID

Availability

5.0.0.0

See Also

fzrt_endian_swap_4_bytes,

Function Set

fz_fzrt_mem_fset

Defined in

fzrt_api.h