reflect.Value.Bytes (method)
18 uses
reflect (current package)
deepequal.go#L110: return bytealg.Equal(v1.Bytes(), v2.Bytes())
value.go#L295: func (v Value) Bytes() []byte {
value.go#L3542: return makeString(v.flag.ro(), string(v.Bytes()), t)
database/sql/driver
types.go#L288: return rv.Bytes(), nil
encoding/asn1
marshal.go#L505: bytes := s.Bytes()
marshal.go#L535: return bytesEncoder(v.Bytes()), nil
encoding/json
encode.go#L841: s := v.Bytes()
encoding/xml
marshal.go#L802: bytes = val.Bytes()
marshal.go#L813: return "", val.Bytes(), nil
marshal.go#L938: b := vf.Bytes()
fmt
print.go#L876: bytes = f.Bytes()
github.com/google/go-cmp/cmp
report_reflect.go#L216: b := v.Bytes()
report_slices.go#L108: sx, sy = string(vx.Bytes()), string(vy.Bytes())
google.golang.org/protobuf/internal/impl
codec_map.go#L376: dstm.SetMapIndex(iter.Key(), reflect.ValueOf(append(emptyBuf[:], iter.Value().Bytes()...)))
convert.go#L355: return protoreflect.ValueOfBytes(v.Convert(bytesType).Bytes())
log/slog
text_handler.go#L134: return reflect.ValueOf(a).Bytes(), true