pub struct DCtx<'a>(_, _);Expand description
A Decompression Context.
The lifetime references the potential dictionary used for this context.
If no dictionary was used, it will most likely be 'static.
Same as DStream.
Implementations
Wraps the ZSTD_decompressDCtx() function.
Wraps ZSTD_decompress_usingDict
pub fn decompress_using_ddict<C: WriteBuf + ?Sized>(
&mut self,
dst: &mut C,
src: &[u8],
ddict: &DDict<'_>
) -> SafeResult
pub fn decompress_using_ddict<C: WriteBuf + ?Sized>(
&mut self,
dst: &mut C,
src: &[u8],
ddict: &DDict<'_>
) -> SafeResult
Wraps the ZSTD_decompress_usingDDict() function.
Wraps the ZSTD_initCStream() function.
Initializes an existing DStream for decompression.
👎 DeprecatedThis is supported on crate feature experimental only.
experimental only.Wraps the ZSTD_initDStream_usingDict() function.
👎 DeprecatedThis is supported on crate feature experimental only.
experimental only.Wraps the ZSTD_initDStream_usingDDict() function.
Wraps the ZSTD_resetDStream() function.
pub fn decompress_stream<C: WriteBuf + ?Sized>(
&mut self,
output: &mut OutBuffer<'_, C>,
input: &mut InBuffer<'_>
) -> SafeResult
pub fn decompress_stream<C: WriteBuf + ?Sized>(
&mut self,
output: &mut OutBuffer<'_, C>,
input: &mut InBuffer<'_>
) -> SafeResult
Wraps the ZSTD_decompressStream() function.
Wraps the ZSTD_DStreamInSize() function.
Returns a hint for the recommended size of the input buffer for decompression.
Wraps the ZSTD_DStreamOutSize() function.
Returns a hint for the recommended size of the output buffer for decompression.
pub fn decompress_block<C: WriteBuf + ?Sized>(
&mut self,
dst: &mut C,
src: &[u8]
) -> SafeResult
This is supported on crate feature experimental only.
pub fn decompress_block<C: WriteBuf + ?Sized>(
&mut self,
dst: &mut C,
src: &[u8]
) -> SafeResult
experimental only.Wraps the ZSTD_decompressBlock() function.
This is supported on crate feature experimental only.
experimental only.Wraps the ZSTD_insertBlock() function.