Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
Creating NSData from unsafe pointer in Swift
Asked
Jul 14 '17 at 18:33
Active
Jul 14 '17 at 18:33
Viewed
323 times
1
What's the Swift equivalent of:
var ed = NSData(bytes: &e, length: sizeof(e))
ios
swift
unsafe-pointers
asked Jul 14 '17 at 18:33
mm24
9,280
12
75
170
Where is the unsafe pointer? – Does this help https://stackoverflow.com/questions/38023838/round-trip-swift-number-types-to-from-data ?
–
Martin R
Jul 14 '17 at 18:36
0 Answers
0