type google.golang.org/protobuf/proto.MarshalOptions
33 uses
google.golang.org/protobuf/proto (current package)
encode.go#L23: type MarshalOptions struct {
encode.go#L82: out, err := MarshalOptions{}.marshal(nil, m.ProtoReflect())
encode.go#L90: func (o MarshalOptions) Marshal(m Message) ([]byte, error) {
encode.go#L119: func (o MarshalOptions) MarshalAppend(b []byte, m Message) ([]byte, error) {
encode.go#L133: func (o MarshalOptions) MarshalState(in protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
encode.go#L140: func (o MarshalOptions) marshal(b []byte, m protoreflect.Message) (out protoiface.MarshalOutput, err error) {
encode.go#L179: func (o MarshalOptions) marshalMessage(b []byte, m protoreflect.Message) ([]byte, error) {
encode.go#L210: func (o MarshalOptions) marshalMessageSlow(b []byte, m protoreflect.Message) ([]byte, error) {
encode.go#L233: func (o MarshalOptions) rangeFields(m protoreflect.Message, f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
encode.go#L253: func (o MarshalOptions) marshalField(b []byte, fd protoreflect.FieldDescriptor, value protoreflect.Value) ([]byte, error) {
encode.go#L265: func (o MarshalOptions) marshalList(b []byte, fd protoreflect.FieldDescriptor, list protoreflect.List) ([]byte, error) {
encode.go#L292: func (o MarshalOptions) marshalMap(b []byte, fd protoreflect.FieldDescriptor, mapv protoreflect.Map) ([]byte, error) {
encode.go#L315: func (o MarshalOptions) rangeMap(mapv protoreflect.Map, kind protoreflect.Kind, f func(protoreflect.MapKey, protoreflect.Value) bool) {
encode_gen.go#L40: func (o MarshalOptions) marshalSingular(b []byte, fd protoreflect.FieldDescriptor, v protoreflect.Value) ([]byte, error) {
messageset.go#L16: func (o MarshalOptions) sizeMessageSet(m protoreflect.Message) (size int) {
messageset.go#L27: func (o MarshalOptions) marshalMessageSet(b []byte, m protoreflect.Message) ([]byte, error) {
messageset.go#L42: func (o MarshalOptions) marshalMessageSetField(b []byte, fd protoreflect.FieldDescriptor, value protoreflect.Value) ([]byte, error) {
size.go#L16: return MarshalOptions{}.Size(m)
size.go#L20: func (o MarshalOptions) Size(m Message) int {
size.go#L32: func (o MarshalOptions) size(m protoreflect.Message) (size int) {
size.go#L51: func (o MarshalOptions) sizeMessageSlow(m protoreflect.Message) (size int) {
size.go#L63: func (o MarshalOptions) sizeField(fd protoreflect.FieldDescriptor, value protoreflect.Value) (size int) {
size.go#L75: func (o MarshalOptions) sizeList(num protowire.Number, fd protoreflect.FieldDescriptor, list protoreflect.List) (size int) {
size.go#L90: func (o MarshalOptions) sizeMap(num protowire.Number, fd protoreflect.FieldDescriptor, mapv protoreflect.Map) (size int) {
size_gen.go#L14: func (o MarshalOptions) sizeSingular(num protowire.Number, kind protoreflect.Kind, v protoreflect.Value) int {
google.golang.org/protobuf/encoding/protojson
well_known_types.go#L222: b, err := proto.MarshalOptions{
google.golang.org/protobuf/encoding/prototext
decode.go#L727: b, err := proto.MarshalOptions{
google.golang.org/protobuf/internal/impl
encode.go#L21: func (o marshalOptions) Options() proto.MarshalOptions {
encode.go#L22: return proto.MarshalOptions{
google.golang.org/protobuf/types/known/anypb
any.pb.go#L262: func MarshalFrom(dst *Any, src proto.Message, opts proto.MarshalOptions) error {
any.pb.go#L351: return MarshalFrom(x, m, proto.MarshalOptions{})
github.com/golang/protobuf/proto
deprecated.go#L97: return protoV2.MarshalOptions{Deterministic: deterministic}.MarshalAppend(b, MessageV2(m))
wire.go#L37: nbuf, err := protoV2.MarshalOptions{
 |
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. |