formZ SDK | 5.0 API Reference | System | IO Streams

# fz_iost_get_endian

Description

Gets the byte order of the IO stream. Gets the byte order of the IO stream. This value, file_endian will be either FZ_ENDIAN_SMALL or FZ_ENDIAN_BIG.

Plugin Prototype

fzrt_error_td fz_iost_get_endian(

fz_iost_ptr | iost,
char * | file_endian )

Parameters

iost [Input]

The IO stream.

file_endian [Result]

The byte order. Must be allocated by the caller.

Returns

FZRT_NOERR on success. Otherwise, an error code.

Availability

5.0.0.0

Function Set

fz_iost_fset

Defined in

fz_iost_api.h