Set compression level.
(mut self, level: u32)
| 359 | |
| 360 | /// Set compression level. |
| 361 | pub fn compression_level(mut self, level: u32) -> Self { |
| 362 | self.compression_level = level.min(9); |
| 363 | self |
| 364 | } |
| 365 | |
| 366 | /// Create options for a specific format. |
| 367 | pub fn with_format(format: ArchiveFormat) -> Self { |
no outgoing calls