MCPcopy
hub / github.com/klauspost/compress / Close

Method Close

gzip/gunzip.go:380–380  ·  view source on GitHub ↗

Close closes the Reader. It does not close the underlying io.Reader. In order for the GZIP checksum to be verified, the reader must be fully consumed until the io.EOF.

()

Source from the content-addressed store, hash-verified

378// In order for the GZIP checksum to be verified, the reader must be
379// fully consumed until the io.EOF.
380func (z *Reader) Close() error { return z.decompressor.Close() }

Callers 15

Example_resetFunction · 0.95
Example_synchronizationFunction · 0.95
TestResetFunction · 0.95
TestResetDictFunction · 0.95
testSyncFunction · 0.95
TestBestSpeedFunction · 0.95
TestHeader_DecodeFunction · 0.95
TestSnappy_ConvertSimpleFunction · 0.95
TestSnappy_ConvertXMLFunction · 0.95
TestSnappy_ConvertEnwik9Function · 0.95

Calls 1

CloseMethod · 0.65

Tested by 15

Example_resetFunction · 0.76
Example_synchronizationFunction · 0.76
TestResetFunction · 0.76
TestResetDictFunction · 0.76
testSyncFunction · 0.76
TestBestSpeedFunction · 0.76
TestHeader_DecodeFunction · 0.76
TestSnappy_ConvertSimpleFunction · 0.76
TestSnappy_ConvertXMLFunction · 0.76
TestSnappy_ConvertEnwik9Function · 0.76