Answers for "go string array to bytes"

Go
4

go string to byte array

b := []byte("ABC€")
s := string([]byte{65, 66, 67, 226, 130, 172})
Posted by: Guest on February-17-2020

Code answers related to "go string array to bytes"

Browse Popular Code Answers by Language