MCPcopy Create free account
hub / github.com/google/nftables / Marshal

Function Marshal

expr/expr.go:69–71  ·  view source on GitHub ↗

Marshal serializes the specified expression into a byte slice.

(fam byte, e Any)

Source from the content-addressed store, hash-verified

67
68// Marshal serializes the specified expression into a byte slice.
69func Marshal(fam byte, e Any) ([]byte, error) {
70 return e.marshal(fam)
71}
72
73func MarshalExprData(fam byte, e Any) ([]byte, error) {
74 return e.marshalData(fam)

Callers 2

marshalExprMethod · 0.92
marshalDataMethod · 0.70

Calls 1

marshalMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…