cloudflared/vendor/github.com/gobwas/ws/util_purego.go
Devin Carr d608a64cc5
Some checks are pending
Check / check (1.22.x, macos-latest) (push) Waiting to run
Check / check (1.22.x, ubuntu-latest) (push) Waiting to run
Check / check (1.22.x, windows-latest) (push) Waiting to run
Semgrep config / semgrep/ci (push) Waiting to run
TUN-8685: Bump coredns dependency
Closes TUN-8685
2024-10-17 13:09:39 -07:00

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)
}