title: Use of unresolved identifier 'sizeof'
body: <p>I'm trying to send a position between two devices, so I need to convert the position to NSData. I found something on the net but I have an error: Use of unresolved identifier 'sizeof'. I don't know how to solve, could you help me?. Here's my code:</p>
  
  <pre><code>var error: Error?
      var positionToSend = car.position
      let dataSend = NSData(bytes: &amp;positionToSend, length: sizeof(CGPoint))
      try? match.sendData(toAllPlayers: dataSend, with: .unreliable)
      if error != nil {
      }
  </code></pre>