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