Function zstd_sys::ZSTD_isFrame
source ยท pub unsafe extern "C" fn ZSTD_isFrame(
buffer: *const c_void,
size: usize,
) -> c_uint
Expand description
ZSTD_isFrame() :
Tells if the content of buffer
starts with a valid Frame Identifier.
Note : Frame Identifier is 4 bytes. If size < 4
, @return will always be 0.
Note 2 : Legacy Frame Identifiers are considered valid only if Legacy Support is enabled.
Note 3 : Skippable Frame Identifiers are considered valid.