Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrr/http2
/ Write
Method
Write
ping.go:38–41 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(p *Ping) Write(b []byte) (n int, err error) {
39
copy(p.data[:], b)
40
return
41
}
42
43
func
(p *Ping) SetData(b []byte) {
44
copy(p.data[:], b)
Callers
6
WritePreface
Function · 0.45
WriteTo
Method · 0.45
TestFrameRead
Function · 0.45
ServeHTTP
Method · 0.45
newBTCTiles
Function · 0.45
OnPong
Method · 0.45
Calls
no outgoing calls
Tested by
1
TestFrameRead
Function · 0.36