Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ Encode
Method
Encode
protocol/net/packet/status/ping.go:15–17 ·
view source on GitHub ↗
(w encoding.Writer)
Source
from the content-addressed store, hash-verified
13
}
14
15
func
(p Ping) Encode(w encoding.Writer) error {
16
return
w.Long(p.Payload)
17
}
18
19
func
(p *Ping) Decode(r encoding.Reader) error {
20
return
r.Long(&p.Payload)
Callers
nothing calls this directly
Calls
1
Long
Method · 0.45
Tested by
no test coverage detected