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

Method writeUint32

internal/http2/frame.go:407–409  ·  view source on GitHub ↗
(v uint32)

Source from the content-addressed store, hash-verified

405func (h2f *Framer) writeUint16(v uint16) { h2f.wbuf = append(h2f.wbuf, byte(v>>8), byte(v)) }
406
407func (h2f *Framer) writeUint32(v uint32) {
408 h2f.wbuf = append(h2f.wbuf, byte(v>>24), byte(v>>16), byte(v>>8), byte(v))
409}
410
411const (
412 minMaxFrameSize = 1 << 14

Callers 7

WriteSettingsMethod · 0.95
WriteGoAwayMethod · 0.95
WriteWindowUpdateMethod · 0.95
WriteHeadersMethod · 0.95
WritePriorityMethod · 0.95
WriteRSTStreamMethod · 0.95
WritePushPromiseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected