make byte array from string golang code example Example: golang []byte to string s := string([]byte{65, 66, 67, 226, 130, 172}) fmt.Println(s) // ABC€