Function zstd_sys::ZSTD_getDecompressedSize
[−]
[src]
pub unsafe extern "C" fn ZSTD_getDecompressedSize(
src: *const c_void,
srcSize: usize
) -> c_ulonglong
ZSTD_getDecompressedSize() : NOTE: This function is now obsolete, in favor of ZSTD_getFrameContentSize(). Both functions work the same way, but ZSTD_getDecompressedSize() blends "empty", "unknown" and "error" results in the same return value (0), while ZSTD_getFrameContentSize() distinguishes them.
'src' is the start of a zstd compressed frame. @return : content size to be decompressed, as a 64-bits value if known and not empty, 0 otherwise.