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

Method Unmarshal

codec.go:33–33  ·  view source on GitHub ↗
(data mem.BufferSlice, v any)

Source from the content-addressed store, hash-verified

31type baseCodec interface {
32 Marshal(v any) (mem.BufferSlice, error)
33 Unmarshal(data mem.BufferSlice, v any) error
34}
35
36// getCodec returns an encoding.CodecV2 for the codec of the given name (if

Callers 15

processUnaryRPCMethod · 0.65
parseServiceConfigFunction · 0.65
UnmarshalMethod · 0.65
recvFunction · 0.65
ParseConfigMethod · 0.65
tokenInfoFromResponseFunction · 0.65
pluginConfigFromJSONFunction · 0.65
extractExpirationMethod · 0.65
XXX_UnmarshalMethod · 0.65
parseCertIssuerExtFunction · 0.65
parseCRLExtensionsFunction · 0.65
TestJSONUnmarshalMethod · 0.65

Implementers 7

errProtoCodecencoding/encoding_test.go
countingProtoCodecencoding/encoding_test.go
codecV2encoding/proto/proto.go
byteBufCodecbenchmark/worker/main.go
byteCodecinternal/xds/clients/grpctransport/grp
byteCodecinternal/xds/clients/xdsclient/test/ad

Calls

no outgoing calls

Tested by 15

ParseConfigMethod · 0.52
TestJSONUnmarshalMethod · 0.52
loadFileDescDynamicFunction · 0.52
checkDescriptorResultsFunction · 0.52
TestStdoutLogger_LogMethod · 0.52
TestUpdateStatePausesMethod · 0.52
ParseConfigMethod · 0.52
TestLogMethod · 0.52
ParseLoggerConfigMethod · 0.52