Function blosc_sys::blosc_cbuffer_sizes
[−]
[src]
pub unsafe extern "C" fn blosc_cbuffer_sizes(
cbuffer: *const c_void,
nbytes: *mut size_t,
cbytes: *mut size_t,
blocksize: *mut size_t
)
Return information about a compressed buffer, namely the number of
uncompressed bytes (nbytes
) and compressed (cbytes
). It also
returns the blocksize
(which is used internally for doing the
compression by blocks).
You only need to pass the first BLOSC_MIN_HEADER_LENGTH bytes of a compressed buffer for this call to work.
This function should always succeed.