Function zstd_sys::ZSTD_getFrameHeader
source · pub unsafe extern "C" fn ZSTD_getFrameHeader(
zfhPtr: *mut ZSTD_frameHeader,
src: *const c_void,
srcSize: usize
) -> usize
Expand description
ZSTD_getFrameHeader() :
decode Frame Header, or requires larger srcSize
.
@return : 0, zfhPtr
is correctly filled,
>0, srcSize
is too small, value is wanted srcSize
amount,
or an error code, which can be tested using ZSTD_isError()