1

What's the Swift equivalent of:

var ed = NSData(bytes: &e, length: sizeof(e))
mm24
  • 8,150
  • 11
  • 65
  • 159
  • 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 Answers0