Function zstd_sys::ZSTD_decompress_generic [−][src]
pub unsafe extern "C" fn ZSTD_decompress_generic(
dctx: *mut ZSTD_DCtx,
output: *mut ZSTD_outBuffer,
input: *mut ZSTD_inBuffer
) -> usize
ZSTD_decompress_generic() :
Behave the same as ZSTD_decompressStream.
Decompression parameters cannot be changed once decompression is started.
@return : an error code, which can be tested using ZSTD_isError()
if >0, a hint, nb of expected input bytes for next invocation.
0
means : a frame has just been fully decoded and flushed.