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

Method Marshal

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

Marshal serializes the header into buf, which must be at least Len() bytes long. Implementations of Marshal assume that bytes after the first Len() are payload bytes for the purpose of computing length and checksum fields. Marshal implementations must not allocate memory.

(buf []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

PingFunction · 0.65
GenerateFunction · 0.65
MarshalMethod · 0.65
MarshalMethod · 0.65
MarshalMethod · 0.65
MarshalMethod · 0.65
doOdohMethod · 0.65
JsonMethod · 0.65
JsonMethod · 0.65
setDNSFilterFunction · 0.65

Implementers 6

ICMP6Headerintra/core/wire/icmp6.go
ICMP4Headerintra/core/wire/icmp4.go
UDP4Headerintra/core/wire/udp.go
UDP6Headerintra/core/wire/udp.go
IP4Headerintra/core/wire/ip4.go
IP6Headerintra/core/wire/ip6.go

Calls

no outgoing calls

Tested by

no test coverage detected