MCPcopy Create free account
hub / github.com/celzero/firestack / Generate

Function Generate

intra/core/wire/header.go:64–76  ·  view source on GitHub ↗

Generate generates a new packet with the given Header and payload. This function allocates memory, see Header.Marshal for an allocation-free option.

(h Header, payload []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

echoReplyMethod · 0.92

Calls 3

LenMethod · 0.65
MarshalMethod · 0.65
WriteChecksumMethod · 0.65

Tested by

no test coverage detected