How to use withUnsafeMutablePointer with Swift 5.2

Cool! Thanks. Perhaps I will give it a go when nobody is looking :-)