()
| 6 | ) |
| 7 | |
| 8 | func main(){ |
| 9 | var str = "tidesec" |
| 10 | strbytes := []byte(str) |
| 11 | encoded := base64.StdEncoding.EncodeToString(strbytes) |
| 12 | fmt.Println(encoded) |
| 13 | |
| 14 | decoded, _ := base64.StdEncoding.DecodeString(encoded) |
| 15 | decodestr := string(decoded) |
| 16 | fmt.Println(decodestr) |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected