MCPcopy Create free account
hub / github.com/imroc/req / writeBytes

Method writeBytes

internal/http2/frame.go:403–403  ·  view source on GitHub ↗
(v []byte)

Source from the content-addressed store, hash-verified

401func (h2f *Framer) writeByte(v byte) { h2f.wbuf = append(h2f.wbuf, v) }
402
403func (h2f *Framer) writeBytes(v []byte) { h2f.wbuf = append(h2f.wbuf, v...) }
404
405func (h2f *Framer) writeUint16(v uint16) { h2f.wbuf = append(h2f.wbuf, byte(v>>8), byte(v)) }
406

Callers 3

WritePingMethod · 0.95
WriteGoAwayMethod · 0.95
WriteRawFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected