I want the hexadecimal representation of a Data value in Swift.
Eventually I\'d want to use it like this:
let data = Data(base64Encoded: \"aGVsbG8gd2
Maybe not the fastest, but data.map({ String($0, radix: 16) }).joined() does the job. As mentioned in the comments, this solution was flawed.
data.map({ String($0, radix: 16) }).joined()