Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Go
go string to byte array
Ideal
Programming language:
Go
2021-03-30 05:14:37
0
Q:
go string to byte array
bookworm
Code:
Go
2021-08-24 09:14:16
b := []byte("ABC€") s := string([]byte{65, 66, 67, 226, 130, 172})
3
Tags
string
array
New to Communities?
Join the community