google.golang.org/protobuf/proto.UnmarshalOptions.Unmarshal (method)
8 uses
google.golang.org/protobuf/proto (current package)
decode.go#L54: func (o UnmarshalOptions) Unmarshal(b []byte, m Message) error {
google.golang.org/protobuf/encoding/protojson
well_known_types.go#L143: }.Unmarshal(valueVal.Bytes(), em.Interface())
google.golang.org/protobuf/encoding/prototext
encode.go#L416: }.Unmarshal(value.Bytes(), m)
google.golang.org/protobuf/internal/filedesc
desc_lazy.go#L698: }).Unmarshal(b, opts); err != nil {
google.golang.org/protobuf/types/known/anypb
any.pb.go#L290: return opts.Unmarshal(src.GetValue(), dst)
any.pb.go#L319: return dst, opts.Unmarshal(src.GetValue(), dst)
github.com/golang/protobuf/proto
deprecated.go#L112: return protoV2.UnmarshalOptions{Merge: true}.Unmarshal(b, MessageV2(m))
extensions.go#L151: }.Unmarshal(bo, m2.Interface())); err != nil {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |