[][src]Function spatialite_sys::gaiaToSpatiaLiteBlobWkbEx

pub unsafe extern "C" fn gaiaToSpatiaLiteBlobWkbEx(
    geom: gaiaGeomCollPtr,
    result: *mut *mut c_uchar,
    size: *mut c_int,
    gpkg_mode: c_int
)

Creates a BLOB-Geometry corresponding to a Geometry object

\param geom pointer to the Geometry object. \param result on completion will containt a pointer to BLOB-Geometry: NULL on failure. \param size on completion this variable will contain the BLOB's size (in bytes) \param gpkg_mode is set to TRUE will always return GPKG Geometry-BLOBs

\sa gaiaFromSpatiaLiteBlobWkb, gaiaToCompressedBlobWkb

\note the BLOB buffer corresponds to dynamically allocated memory: so you are responsible to free() it [unless SQLite will take care of memory cleanup via buffer binding].