This commit is contained in:
guwandyk committed 2026-08-04 12:50:20 +05:00
1 parent 4194cef934
commit 363127fe9e
3350 files changed
+1284220 -1

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
//go:build tinygo
// +build tinygo
package fwd
import (
"unsafe"
)
// unsafe cast string as []byte
func unsafestr(b string) []byte {
return unsafe.Slice(unsafe.StringData(b), len(b))
}