We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3736cdd commit 1209e6dCopy full SHA for 1209e6d
utils.go
@@ -0,0 +1,9 @@
1
+package godzilla
2
+
3
+import (
4
+ "unsafe"
5
+)
6
7
+func GetString(b []byte) string {
8
+ return *(*string)(unsafe.Pointer(&b))
9
+}
0 commit comments