Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ unsafeBytesToString
Function
unsafeBytesToString
thrift/unsafe.go:22–24 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
20
}
21
22
func
unsafeBytesToString(b []byte) string {
23
return
*(*string)(unsafe.Pointer(&b))
24
}
Callers
3
ReadString
Method · 0.85
ReadMessage
Method · 0.85
ReadString
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…