ZSTD_getFrameContentSize

Function ZSTD_getFrameContentSize 

Source
pub unsafe extern "C" fn ZSTD_getFrameContentSize(
    src: *const c_void,
    srcSize: usize,
) -> c_ulonglong
Expand description

ZSTD_getFrameContentSize() : compatible with legacy mode @return : decompressed size of the single frame pointed to be src if known, otherwise - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined - ZSTD_CONTENTSIZE_ERROR if an error occurred (e.g. invalid magic number, srcSize too small)