reflect.Value.Bytes (method)
15 uses
reflect (current package)
deepequal.go#L110: return bytealg.Equal(v1.Bytes(), v2.Bytes())
value.go#L298: func (v Value) Bytes() []byte {
value.go#L3611: return makeString(v.flag.ro(), string(v.Bytes()), t)
database/sql/driver
types.go#L288: return rv.Bytes(), nil
encoding/asn1
marshal.go#L508: bytes := s.Bytes()
marshal.go#L538: return bytesEncoder(v.Bytes()), nil
encoding/json
encode.go#L830: s := v.Bytes()
encoding/xml
marshal.go#L813: bytes = val.Bytes()
marshal.go#L824: return "", val.Bytes(), nil
marshal.go#L953: b := vf.Bytes()
fmt
print.go#L877: bytes = f.Bytes()
google.golang.org/protobuf/internal/impl
codec_map.go#L382: 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