[][src]Function spatialite_sys::gaiaXmlBlobGetEncoding

pub unsafe extern "C" fn gaiaXmlBlobGetEncoding(
    blob: *const c_uchar,
    size: c_int
) -> *mut c_char

Return the Charset Encoding from a valid XmlBLOB buffer

\param blob pointer to the XmlBLOB buffer. \param size XmlBLOB's size (in bytes).

\return the Charset Encoding for any valid XmlBLOB explicitly defining an Encoding; NULL in any other case.

\note the returned Encoding corresponds to dynamically allocated memory: so you are responsible to free() it before or after.