MCPcopy
hub / github.com/grpc/grpc-go / Marshal

Method Marshal

encoding/encoding.go:107–107  ·  view source on GitHub ↗

Marshal returns the wire format of v.

(v any)

Source from the content-addressed store, hash-verified

105type Codec interface {
106 // Marshal returns the wire format of v.
107 Marshal(v any) ([]byte, error)
108 // Unmarshal parses the wire format into v.
109 Unmarshal(data []byte, v any) error
110 // Name returns the name of the Codec implementation. The returned string

Callers 6

MarshalMethod · 0.65
MarshalMethod · 0.65
MarshalMethod · 0.65
fastMarshalAndUnmarshalFunction · 0.65
marshalAndUnmarshalFunction · 0.65
EncodeMethod · 0.65

Calls

no outgoing calls

Tested by 4

MarshalMethod · 0.52
MarshalMethod · 0.52
fastMarshalAndUnmarshalFunction · 0.52
marshalAndUnmarshalFunction · 0.52