Struct DecodeOptions
pub struct DecodeOptions { /* private fields */ }
Decoder configuration options
Implementations
impl DecodeOptions
fn set_ignore_adler32(&mut self, ignore_adler32: bool)When set, the decoder will not compute and verify the Adler-32 checksum.
Defaults to
true.fn set_ignore_crc(&mut self, ignore_crc: bool)When set, the decoder will not compute and verify the CRC code.
Defaults to
false.fn set_ignore_checksums(&mut self, ignore_checksums: bool)Flag to ignore computing and verifying the Adler-32 checksum and CRC code.
fn set_ignore_text_chunk(&mut self, ignore_text_chunk: bool)Ignore text chunks while decoding.
Defaults to
false.fn set_ignore_iccp_chunk(&mut self, ignore_iccp_chunk: bool)Ignore ICCP chunks while decoding.
Defaults to
false.fn set_skip_ancillary_crc_failures(&mut self, skip_ancillary_crc_failures: bool)Ignore ancillary chunks if CRC fails
Defaults to
true
Trait Implementations
impl Clone for DecodeOptions
fn clone(&self) -> Self
impl Default for DecodeOptions
fn default() -> Self