Function gaiaImportI64

Source
pub unsafe extern "C" fn gaiaImportI64(
    p: *const c_uchar,
    little_endian: c_int,
    little_endian_arch: c_int,
) -> sqlite3_int64
Expand description

Import an INT-64 in endian-aware fashion

\param p endian-dependent representation (input buffer). \param little_endian 0 if the input buffer is big-endian: any other value for little-endian. \param little_endian_arch the value returned by gaiaEndianArch()

\return the internal INT-64 value

\sa gaiaEndianArch, gaiaExportI64

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