Swift 3 changes for getBytes method

后端 未结 2 2060
误落风尘
误落风尘 2021-02-05 11:01

I have tried to run the below code in swift 3

 var values = [UInt8](count:data!.length, repeatedValue:0)
 data!.getBytes(&values, length:data!.length)
         


        
2条回答
提交回复
热议问题