Created
September 14, 2019 16:17
-
-
Save bgadrian/7752af4a0fa5b8a682c2df6d0c590a22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bytes := []bytes //string here, can be reused or kept on stack | |
stringVal := *(*string)(unsafe.Pointer(&bytes)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment