[][src]Function spatialite_sys::gaiaXmlBlobCompression

pub unsafe extern "C" fn gaiaXmlBlobCompression(
    blob: *const c_uchar,
    in_size: c_int,
    compressed: c_int,
    result: *mut *mut c_uchar,
    out_size: *mut c_int
)

Return another XmlBLOB buffer compressed / uncompressed

\param blob pointer to the input XmlBLOB buffer. \param in_size input XmlBLOB's size (in bytes). \param compressed if TRUE the returned XmlBLOB will be zip-compressed. \param result on completion will containt a pointer to the output XmlBLOB: NULL on failure. \param out_size on completion this variable will contain the output XmlBLOB's size (in bytes)

\sa gaiaXmlToBlob, gaiaIsCompressedXmlBlob

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