[swift-users] UnsafePointer to UInt64

Rien Rien at Balancingrock.nl
Thu Feb 16 07:27:03 CST 2017

What would be the easiest (and fastest) way to convert a pointer to an (unsigned)integer?

Ptr -> String -> Int

seems a bit cumbersome to me :-)


Site: http://balancingrock.nl
Blog: http://swiftrien.blogspot.com
Github: http://github.com/Balancingrock
Project: http://swiftfire.nl

More information about the swift-users mailing list