Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalFrom ¶
MarshalFrom marshals src into dst as the underlying message using the provided marshal options.
If no options are specified, call dst.MarshalFrom instead.
func UnmarshalNew ¶
UnmarshalNew unmarshals the underlying message from src into dst, which is newly created message using a type resolved from the type URL. The message type is resolved according to opt.Resolver, which should implement protoregistry.MessageTypeResolver. It reports an error if the underlying message type could not be resolved.
func UnmarshalTo ¶
UnmarshalTo unmarshals the underlying message from src into dst using the provided unmarshal options. It reports an error if dst is not of the right message type.
If no options are specified, call src.UnmarshalTo instead.
Types ¶
This section is empty.