Read New Diagnostic Architecture Overview. Understood very little. Got that soon to be released Swift 5.2 will have much better diagnostic.

I should play in playground on this stackoverflow answer Round trip Swift number types to/from Data. Very good and detailed answer!