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

Method Unmarshal

encoding/encoding_test.go:101–106  ·  view source on GitHub ↗
(data mem.BufferSlice, v any)

Source from the content-addressed store, hash-verified

99}
100
101func (c *errProtoCodec) Unmarshal(data mem.BufferSlice, v any) error {
102 if c.decodingErr != nil {
103 return c.decodingErr
104 }
105 return encoding.GetCodecV2(proto.Name).Unmarshal(data, v)
106}
107
108func (c *errProtoCodec) Name() string {
109 return c.name

Callers

nothing calls this directly

Calls 2

GetCodecV2Function · 0.92
UnmarshalMethod · 0.65

Tested by

no test coverage detected