Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
58
type
writer
struct
{ *lz4.Writer }
59
60
func
(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
Put
Method · 0.80
Close
Method · 0.45
Reset
Method · 0.45
Tested by
no test coverage detected