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
Swifty solution
array.reduce("", combine: { $0 + String(format: "%c", $1)})
Hex representation:
array.reduce("", combine: { $0 + String(format: "%02x", $1)})