I am facing problems while converting UInt8 Byte array to string in swift. I have searched and find a simple solution
UInt8
String.stringWithBytes(buf
Swift 4 / Ubuntu 16.04
let serverAns = [UInt8](repeating: 0x50, count: 100) let readBytes = 8 let truncatedServerAns = serverAns[0..