Contact: aviboots(AT)netvision.net.il
40,836 questions
53,240 answers
573 users
import Foundation let byteArray: [UInt8] = [65, 114, 97, 103, 111, 114, 110] if let string = String(bytes: byteArray, encoding: .utf8) { print(string) } else { print("Failed to decode string") } /* run: Aragorn */