Closed tuononh closed 3 years ago
i tried String.init(data: d, encoding: .utf8) but it returned nil. When I tries with other encoding it throws some weird characters
String.init(data: d, encoding: .utf8)
nil
I was able to get base64encoded string.
i tried
String.init(data: d, encoding: .utf8)
but it returnednil
. When I tries with other encoding it throws some weird charactersI was able to get base64encoded string.