[][src]Function spatialite_sys::gaiaExport32

pub unsafe extern "C" fn gaiaExport32(
    p: *mut c_uchar,
    value: c_int,
    little_endian: c_int,
    little_endian_arch: c_int
)

Export an INT-32 value in endian-aware fashion

\param p endian-dependent representation (output buffer). \param value the internal value to be exported. \param little_endian 0 if the output buffer has to be big-endian: any other value for little-endian. \param little_endian_arch the value returned by gaiaEndianArch()

\sa gaiaEndianArch, gaiaImport32

\note you are expected to pass an output buffer corresponding to an allocation size of (at least) 4 bytes.