Lines Matching defs:MarshalOptions
21 type MarshalOptions struct { struct
22 pragma.NoUnkeyedLiterals
27 AllowPartial bool
50 Deterministic bool
70 UseCachedSize bool
88 func (o MarshalOptions) Marshal(m Message) ([]byte, error) {
119 func (o MarshalOptions) MarshalAppend(b []byte, m Message) ([]byte, error) {
133 func (o MarshalOptions) MarshalState(in protoiface.MarshalInput) (protoiface.MarshalOutput, error) {
140 …rshalOptions) marshal(b []byte, m protoreflect.Message) (out protoiface.MarshalOutput, err error) {
179 func (o MarshalOptions) marshalMessage(b []byte, m protoreflect.Message) ([]byte, error) {
210 func (o MarshalOptions) marshalMessageSlow(b []byte, m protoreflect.Message) ([]byte, error) {
233 …marshalField(b []byte, fd protoreflect.FieldDescriptor, value protoreflect.Value) ([]byte, error) {
245 …s) marshalList(b []byte, fd protoreflect.FieldDescriptor, list protoreflect.List) ([]byte, error) {
272 …ons) marshalMap(b []byte, fd protoreflect.FieldDescriptor, mapv protoreflect.Map) ([]byte, error) {