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

Method Append

internal/http3/frames.go:145–148  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

143}
144
145func (f *dataFrame) Append(b []byte) []byte {
146 b = quicvarint.Append(b, 0x0)
147 return quicvarint.Append(b, f.Length)
148}
149
150type headersFrame struct {
151 Length uint64

Callers 11

TestDataFrameAppendFunction · 0.95
writeHeadersMethod · 0.45
sendDatagramMethod · 0.45
WriteMethod · 0.45
TestFrameParserEOFFunction · 0.45
setupConnMethod · 0.45
AppendMethod · 0.45
AppendMethod · 0.45
AppendMethod · 0.45

Calls

no outgoing calls

Tested by 4

TestDataFrameAppendFunction · 0.76
TestFrameParserEOFFunction · 0.36