MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / Reinit

Method Reinit

Libraries/snappy/snappy-test.cc:270–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void ZLib::Reinit() {
271 compression_level_ = Z_DEFAULT_COMPRESSION;
272 window_bits_ = MAX_WBITS;
273 mem_level_ = 8; // DEF_MEM_LEVEL
274 if (comp_init_) {
275 deflateEnd(&comp_stream_);
276 comp_init_ = false;
277 }
278 if (uncomp_init_) {
279 inflateEnd(&uncomp_stream_);
280 uncomp_init_ = false;
281 }
282 first_chunk_ = true;
283}
284
285void ZLib::Reset() {
286 first_chunk_ = true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected