Hi, I want to convert a base64 string using `NSDat...
# kotlin-native
o
Hi, I want to convert a base64 string using
NSData().initWithBase64EncodedString(str, 0)
, but the function is deprecated and doesn't compile, the error says:
Use factory method instead
, but I can't find the equivalent
s
Copy code
NSData.create(base64EncodedString = dataString, options = NSDataBase64Encoding64CharacterLineLength)
o
Great, thank you
👍 1