Function zstd_sys::ZSTD_findFrameCompressedSize
[−]
[src]
pub unsafe extern "C" fn ZSTD_findFrameCompressedSize(
src: *const c_void,
srcSize: usize
) -> usize
ZSTD_findFrameCompressedSize() :
src
should point to the start of a ZSTD encoded frame or skippable frame
srcSize
must be at least as large as the frame
@return : the compressed size of the first frame starting at src
,
suitable to pass to ZSTD_decompress
or similar,
or an error code if input is invalid