ZstdCompressionLevel sets the zstd compression level. Levels are: 1=SpeedFastest, 2=SpeedDefault, 3=SpeedBetterCompression, 4=SpeedBestCompression Default is SpeedFastest (1).
(level int)
| 808 | // Levels are: 1=SpeedFastest, 2=SpeedDefault, 3=SpeedBetterCompression, 4=SpeedBestCompression |
| 809 | // Default is SpeedFastest (1). |
| 810 | func ZstdCompressionLevel(level int) option { |
| 811 | return func(c *config) { |
| 812 | c.zstdLevel = level |
| 813 | } |
| 814 | } |
| 815 | |
| 816 | // ZstdImplementation changes the implementation of ZstdWriter. |
| 817 | // The default implementation is backed by github.com/klauspost/compress/zstd |
no outgoing calls
searching dependent graphs…