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

Interface Unmarshaler

proto/proto.go:87–92  ·  proto/proto.go::Unmarshaler

Unmarshaler is implemented by messages that can unmarshal themselves. This interface is used by the following functions: Unmarshal, UnmarshalMerge, Buffer.Unmarshal, Buffer.DecodeMessage, and Buffer.DecodeGroup. Deprecated: Do not implement.

Source from the content-addressed store, hash-verified

85//
86// Deprecated: Do not implement.
87type Unmarshaler interface {
88 // Unmarshal parses the encoded bytes of the protobuf wire input.
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.
95// This interface is used by the following functions: Clone and Merge.

Callers 16

UnmarshalTextFunction · 0.65
GetExtensionFunction · 0.65
writeProto3AnyMethod · 0.65
UnmarshalJSONEnumFunction · 0.65
UnmarshalMethod · 0.65
overifyFunction · 0.65
TestEnumFunction · 0.65
UnmarshalMethod · 0.95
TestUnmarshalNextFunction · 0.80
UnmarshalNextFunction · 0.80

Implementers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected