-
-
Save laevandus/8eb8f5a9c5b1bc0fa310a08a3d41fb8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = Data("abc".utf8) | |
let string = String(decoding: data, as: UTF8.self) | |
print(string) | |
//abc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment