func unsafe.StringData

8 uses

	unsafe (current package)
		unsafe.go#L269: func StringData(str string) *byte

	os
		file.go#L254: 	b := unsafe.Slice(unsafe.StringData(s), len(s))

	runtime
		debuglog.go#L296: 	strData := unsafe.StringData(x)
		heapdump.go#L160: 	dumpmemrange(unsafe.Pointer(unsafe.StringData(s)), uintptr(len(s)))
		heapdump.go#L204: 		dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath)))
		heapdump.go#L206: 		dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name)))
		runtime.go#L152: 	write(2, unsafe.Pointer(unsafe.StringData(s)), int32(len(s)))
		string.go#L121: 	ptr := uintptr(unsafe.Pointer(unsafe.StringData(s)))