0
我從https://github.com/jrickard/BLEBasics.git 下載這些代碼,這是寫在斯威夫特2時,我希望把它編譯成斯威夫特3他們發生一個錯誤,說:「曖昧使用的初始化的」如何處理UnsafePointer <UInt8>斯威夫特3
var notMuch: Int = 0
let notMuchNS = Data(bytes: UnsafePointer<UInt8>(¬Much), count: sizeof(Int))