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

Method UncompressErrorInit

Libraries/snappy/snappy-test.cc:429–433  ·  view source on GitHub ↗

Initialization method to be called if we hit an error while uncompressing. On hitting an error, call this method before returning the error.

Source from the content-addressed store, hash-verified

427// uncompressing. On hitting an error, call this method before
428// returning the error.
429void ZLib::UncompressErrorInit() {
430 inflateEnd(&uncomp_stream_);
431 uncomp_init_ = false;
432 Reset();
433}
434
435int ZLib::UncompressInit(Bytef *dest, uLongf *destLen,
436 const Bytef *source, uLong *sourceLen) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected