kos/util/bs/safe.go

13 lines
171 B
Go
Raw Normal View History

2023-07-07 09:53:37 +08:00
//go:build appengine
// +build appengine
package bs
func BytesToString(b []byte) string {
return string(b)
}
func StringToBytes(s string) []byte {
return []byte(s)
}