Answers for "convert ot byte[] go"

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

Browse Popular Code Answers by Language