func google.golang.org/protobuf/reflect/protoreflect.ValueOfBytes
31 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
value_union.go#L109: return ValueOfBytes(v)
value_union.go#L166: func ValueOfBytes(v []byte) Value {
google.golang.org/protobuf/encoding/protojson
decode.go#L483: return protoreflect.ValueOfBytes(b), true
well_known_types.go#L237: m.Set(fdValue, protoreflect.ValueOfBytes(b))
google.golang.org/protobuf/encoding/prototext
decode.go#L335: return protoreflect.ValueOfBytes([]byte(b)), nil
decode.go#L687: m.Set(fds.ByNumber(genid.Any_Value_field_number), protoreflect.ValueOfBytes(bValue))
google.golang.org/protobuf/internal/encoding/defval
default.go#L112: return protoreflect.ValueOfBytes(b), nil, nil
google.golang.org/protobuf/internal/filedesc
desc.go#L732: return protoreflect.ValueOfBytes(nil)
desc_lazy.go#L455: fd.L1.Default.val = protoreflect.ValueOfBytes(v) // temporarily store as bytes; later resolved in resolveMessages
desc_lazy.go#L566: xd.L2.Default.val = protoreflect.ValueOfBytes(v) // temporarily store as bytes; later resolved in resolveExtensions
google.golang.org/protobuf/internal/impl
codec_gen.go#L5649: return protoreflect.ValueOfBytes(append(emptyBuf[:], v...)), out, nil
codec_gen.go#L5690: list.Append(protoreflect.ValueOfBytes(append(emptyBuf[:], v...)))
convert.go#L86: bytesZero = protoreflect.ValueOfBytes(nil)
convert.go#L353: return protoreflect.ValueOfBytes(nil) // ensure empty string is []byte(nil)
convert.go#L355: return protoreflect.ValueOfBytes(v.Convert(bytesType).Bytes())
merge.go#L120: return protoreflect.ValueOfBytes(append(emptyBuf[:], src.Bytes()...))
merge.go#L138: dstl.Append(protoreflect.ValueOfBytes(db))
message_opaque_gen.go#L98: return protoreflect.ValueOfBytes(nil)
message_opaque_gen.go#L100: return protoreflect.ValueOfBytes([]byte(**x))
message_opaque_gen.go#L128: return protoreflect.ValueOfBytes(*x)
message_reflect_field_gen.go#L123: return protoreflect.ValueOfBytes(nil)
message_reflect_field_gen.go#L125: return protoreflect.ValueOfBytes([]byte(**x))
message_reflect_field_gen.go#L159: return protoreflect.ValueOfBytes(*x)
message_reflect_field_gen.go#L242: return protoreflect.ValueOfBytes(nil)
message_reflect_field_gen.go#L244: return protoreflect.ValueOfBytes([]byte(*x))
message_reflect_field_gen.go#L269: return protoreflect.ValueOfBytes(*x)
google.golang.org/protobuf/proto
decode_gen.go#L170: return protoreflect.ValueOfBytes(append(emptyBuf[:], v...)), n, nil
decode_gen.go#L179: return protoreflect.ValueOfBytes(v), n, nil
decode_gen.go#L188: return protoreflect.ValueOfBytes(v), n, nil
decode_gen.go#L567: list.Append(protoreflect.ValueOfBytes(append(emptyBuf[:], v...)))
merge.go#L144: return protoreflect.ValueOfBytes(append([]byte{}, v.Bytes()...))