I'm migrating my code from swift 2 to swift 3 and i'm having this error for these lines
let codeBuffer = UnsafePointer<UInt16>((buffer+offset))
let bytes = UnsafePointer<UInt64>((buffer+offset))
how can i fix it using withMemoryRebound method ??
I'm migrating my code from swift 2 to swift 3 and i'm having this error for these lines
let codeBuffer = UnsafePointer<UInt16>((buffer+offset))
let bytes = UnsafePointer<UInt64>((buffer+offset))
how can i fix it using withMemoryRebound method ??