How to use withUnsafeMutablePointer with Swift 5.2

There are a few posts about that here and there, maybe you can look it up.