MCPcopy 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
22func unsafeBytesToString(b []byte) string {
23 return *(*string)(unsafe.Pointer(&b))
24}

Callers 3

ReadStringMethod · 0.85
ReadMessageMethod · 0.85
ReadStringMethod · 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…