Answers for "string make to []byte golang"

Go
4

golang string to bytes

hello := []byte("hello-world")
Posted by: Guest on February-10-2021
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