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