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

Method Close

compress/snappy/snappy.go:91–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89type reader struct{ *xerialReader }
90
91func (r *reader) Close() (err error) {
92 if x := r.xerialReader; x != nil {
93 r.xerialReader = nil
94 x.Reset(nil)
95 readerPool.Put(x)
96 }
97 return
98}
99
100type writer struct{ *xerialWriter }
101

Callers

nothing calls this directly

Calls 2

PutMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected