MCPcopy Index your code
hub / github.com/RustPython/RustPython / decompress

Method decompress

crates/stdlib/src/zlib.rs:136–141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

134 }
135
136 fn decompress(self) -> Decompress {
137 match self {
138 Self::Standard { header, wbits } => Decompress::new_with_window_bits(header, wbits),
139 Self::Gzip { wbits } => Decompress::new_gzip(wbits),
140 }
141 }
142 fn compress(self, level: Compression) -> Compress {
143 match self {
144 Self::Standard { header, wbits } => {

Callers 3

decompressFunction · 0.45
decompressobjFunction · 0.45
py_newMethod · 0.45

Calls 7

new_zlib_errorFunction · 0.85
raw_max_lengthMethod · 0.80
max_lengthMethod · 0.80
to_stringMethod · 0.80
dataMethod · 0.45
lockMethod · 0.45
to_pyexceptionMethod · 0.45

Tested by

no test coverage detected