[][src]Function spatialite_sys::gaiaFromWkb

pub unsafe extern "C" fn gaiaFromWkb(
    blob: *const c_uchar,
    size: c_uint
) -> gaiaGeomCollPtr

Creates a Geometry object from WKB notation

\param blob pointer to WKB buffer \param size the BLOB's size (in bytes)

\return the pointer to the newly created Geometry object: NULL on failure.

\sa gaiaToWkb, gaiaToHexWkb, gaiaFromEWKB, gaiaToEWKB

\note you are responsible to destroy (before or after) any allocated Geometry, unless you've passed ownership of the Geometry object to some further object: in this case destroying the higher order object will implicitly destroy any contained child object.