struct Options [src]

Fields

verify_checksum: bool = falseVerifying checksums is not implemented yet and will cause a panic if you set this to true.
window_len: u32 = zstd.default_window_lenThe output buffer is asserted to have capacity for window_len plus zstd.block_size_max. If window_len is too small, then some streams will fail to decompress with error.OutputBufferUndersize.

Source

pub const Options = struct { /// Verifying checksums is not implemented yet and will cause a panic if /// you set this to true. verify_checksum: bool = false, /// The output buffer is asserted to have capacity for `window_len` plus /// `zstd.block_size_max`. /// /// If `window_len` is too small, then some streams will fail to decompress /// with `error.OutputBufferUndersize`. window_len: u32 = zstd.default_window_len, }