[][src]Function spatialite_sys::gaiaToHexWkb

pub unsafe extern "C" fn gaiaToHexWkb(geom: gaiaGeomCollPtr) -> *mut c_char

Encodes a Geometry object into (hex) WKB notation

\param geom pointer to Geometry object

\return the pointer to a text buffer containing WKB translated into plain hexadecimal: NULL on failure.

\sa gaiaFromWkb, gaiaToWkb, gaiaFromEWKB, gaiaToEWKB

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