MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / Decode

Method Decode

runtime/marshaler.go:26–26  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

24// Decoder decodes a byte sequence
25type Decoder interface {
26 Decode(v interface{}) error
27}
28
29// Encoder encodes gRPC payloads / fields into byte sequence.

Callers 15

TestJSONPbDecoderFunction · 0.95
TestJSONPbDecoderFieldsFunction · 0.95
TestJSONBuiltinDecoderFunction · 0.95
TestProtoEncoderDecodertFunction · 0.95
testABEListFunction · 0.95
testABEBulkEchoFunction · 0.95

Implementers 2

dummyDecoderruntime/marshaler_registry_test.go
DecoderWrapperruntime/marshal_jsonpb.go

Calls

no outgoing calls

Tested by 9

TestJSONPbDecoderFunction · 0.76
TestJSONPbDecoderFieldsFunction · 0.76
TestJSONBuiltinDecoderFunction · 0.76
TestProtoEncoderDecodertFunction · 0.76
testABEListFunction · 0.76
testABEBulkEchoFunction · 0.76