MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / ByteSliceToString

Function ByteSliceToString

IceFireDB-SQLProxy/utils/zeroalloc.go:9–11  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

7}
8
9func ByteSliceToString(b []byte) string {
10 return *(*string)(unsafe.Pointer(&b))
11}
12
13func Uint64ToInt64(val uint64) int64 {
14 return *(*int64)(unsafe.Pointer(&val))

Callers 1

ParseTextMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected