I'm having a little bit of trouble. I'm translating my App to native Swift Language. I was using AS3. What I want to accomplish is to read a file in binary mode. A snippet of what I want accomplish is this:
ba:FileStream
ba.open(someFile, readMode)
ba.endian = "littleEndian"
ba.position = 128
ba.readMultiByte(4, someVariableHere)