Clean up / refactor Swift 4 function reading binary file

I have a function written in Swift 4 for OSX that reads in some data from a binary file. It does work and reads in the data! It is not too long.

This function was converted over from some old c / c++ code.

I'm looking for the attached file to be cleaned up, refactored, etc. so it is professional modern Swift 4

The function does work so hopefully, this is just some cleanup and possible simplification.

Skills: Swift

See more: swift 4 what's new, xcode 9 new features, swift 4 wwdc 2017, swift 4 download, what's new in xcode 9, abi stability, preferslargetitles, swift 4 pdf, cpp reading binary file cpp, reading excel file application, sql2005 store binary file table, codes reading text file, reading text file line time, programming reading text file, reading text file

About the Employer:
( 134 reviews ) Bonita Springs, United States

Project ID: #15226680