@Lantua thank you so much, since we are using Int
(on both solutions, like load(as: Int.self)
and assumingMemoryBound(to: Int.self)
) is it less implementation specific or working with unsafe raw pointer always is reliant on implementation details of the types and might break when implementation details change ?