Objective-c implementation of  (some) format conversions using directives defined in Ruby String unpack