Function blosc_sys::blosc_decompress [] [src]

pub unsafe extern "C" fn blosc_decompress(
    src: *const c_void,
    dest: *mut c_void,
    destsize: size_t
) -> c_int

Decompress a block of compressed data in src, put the result in dest and returns the size of the decompressed block.

The src buffer and the dest buffer can not overlap.

Decompression is memory safe and guaranteed not to write the dest buffer more than what is specified in destsize.

If an error occurs, e.g. the compressed data is corrupted or the output buffer is not large enough, then 0 (zero) or a negative value will be returned instead.