Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/valyala/fasthttp
/ Write
Method
Write
stackless/writer.go:143–148 ·
view source on GitHub ↗
(p []byte)
Source
from the content-addressed store, hash-verified
141
}
142
143
func
(w *xWriter) Write(p []byte) (int, error) {
144
if
w.bb == nil {
145
w.bb = bufferPool.Get()
146
}
147
return
w.bb.Write(p)
148
}
149
150
func
(w *xWriter) Reset() {
151
if
w.bb != nil {
Callers
nothing calls this directly
Calls
2
Get
Method · 0.65
Write
Method · 0.65
Tested by
no test coverage detected