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

Method Close

flate/deflate.go:969–971  ·  view source on GitHub ↗

Close flushes and closes the writer.

()

Source from the content-addressed store, hash-verified

967
968// Close flushes and closes the writer.
969func (w *Writer) Close() error {
970 return w.d.close()
971}
972
973// Reset discards the writer's state and makes it equivalent to
974// the result of NewWriter or NewWriterDict called with dst

Callers 15

benchmarkDecodeFunction · 0.95
TestRegressionsFunction · 0.95
Example_resetFunction · 0.95
Example_synchronizationFunction · 0.95
TestResetFunction · 0.95
TestWriteToFunction · 0.95
TestWriterMemUsageFunction · 0.95
TestWriterRegressionFunction · 0.95
benchmarkEncoderFunction · 0.95
TestWriteErrorFunction · 0.95

Calls 1

closeMethod · 0.45

Tested by 15

benchmarkDecodeFunction · 0.76
TestRegressionsFunction · 0.76
Example_resetFunction · 0.76
Example_synchronizationFunction · 0.76
TestResetFunction · 0.76
TestWriteToFunction · 0.76
TestWriterMemUsageFunction · 0.76
TestWriterRegressionFunction · 0.76
benchmarkEncoderFunction · 0.76
TestWriteErrorFunction · 0.76