Sort out indenting a bit (see if ctrl+i works in Xcode)
Added Base64 decoder code, works with RFC 4648 tests but the test TMX map yields an extra 3 bytes of decoded data. :/