cloudflared-mirror/vendor/github.com/gobwas/ws/util_purego.go

13 lines
180 B
Go

//go:build purego
// +build purego
package ws
func strToBytes(str string) (bts []byte) {
return []byte(str)
}
func btsToString(bts []byte) (str string) {
return string(bts)
}