MCPcopy
hub / github.com/golang/protobuf / Unmarshal

Method Unmarshal

proto/proto.go:91–91  ·  view source on GitHub ↗

Unmarshal parses the encoded bytes of the protobuf wire input. The provided buffer is only valid for during method call. It should not reset the receiver message.

([]byte)

Source from the content-addressed store, hash-verified

89 // The provided buffer is only valid for during method call.
90 // It should not reset the receiver message.
91 Unmarshal([]byte) error
92}
93
94// Merger is implemented by messages that can merge themselves.

Callers 15

UnmarshalTextFunction · 0.65
GetExtensionFunction · 0.65
writeProto3AnyMethod · 0.65
UnmarshalJSONEnumFunction · 0.65
UnmarshalMethod · 0.65
overifyFunction · 0.65
TestEnumFunction · 0.65
TestJSONFunction · 0.65
XXX_UnmarshalMethod · 0.65
XXX_UnmarshalMethod · 0.65
XXX_UnmarshalMethod · 0.65

Implementers 3

Bufferproto/buffer.go
InternalMessageInfoproto/deprecated.go
Unmarshalerjsonpb/decode.go

Calls

no outgoing calls

Tested by 5

overifyFunction · 0.52
TestEnumFunction · 0.52
TestJSONFunction · 0.52
TestUnmarshalingFunction · 0.52