我想要在Swift中使用数据值的十六进制表示.
最终我想要像这样使用它:
let data = Data(base64Encoded: "aGVsbG8gd29ybGQ=")! print(data.hexString)
swift swift3
swift ×1
swift3 ×1