MCPcopy 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
38func (p *Ping) Write(b []byte) (n int, err error) {
39 copy(p.data[:], b)
40 return
41}
42
43func (p *Ping) SetData(b []byte) {
44 copy(p.data[:], b)

Callers 6

WritePrefaceFunction · 0.45
WriteToMethod · 0.45
TestFrameReadFunction · 0.45
ServeHTTPMethod · 0.45
newBTCTilesFunction · 0.45
OnPongMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestFrameReadFunction · 0.36