MCPcopy
hub / github.com/segmentio/kafka-go / Close

Method Close

compress/lz4/lz4.go:60–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58type writer struct{ *lz4.Writer }
59
60func (w *writer) Close() (err error) {
61 if z := w.Writer; z != nil {
62 w.Writer = nil
63 err = z.Close()
64 z.Reset(nil)
65 writerPool.Put(z)
66 }
67 return
68}

Callers

nothing calls this directly

Calls 3

PutMethod · 0.80
CloseMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected