//go:build !appengine // +build !appengine package bunotel import "unsafe" func bytesToString(b []byte) string { if len(b) == 0 { return "" } return unsafe.String(&b[0], len(b)) } func stringToBytes(s string) []byte { if s == "" { return []byte{} } return unsafe.Slice(unsafe.StringData(s), len(s)) }