Swift 3.0 convert Data to Array<UInt8>
<p>How to convert Data to array of UInt8?</p>

<pre><code>func serialPort(_ serialPort: ORSSerialPort, didReceive data: Data) {
print("recieved:\(data)")
let arr: [UInt8] = Data(???)???
}
</code></pre>

<p>log
recieved:70 bytes</p>