objective c - How to decode base64-encoded <data> (CFData/NSData) property in a property list? -
i trying reverse-engineer preferences file (not nefarious purposes, can script usage of it) that, among other things, has arrays of coordinates stored within it.
this salient snippet property list:
<dict> <key>$class</key> <dict> <key>cf$uid</key> <integer>34</integer> </dict> <key>coordarray</key> <data> aaaaaaaaaaaaaaaaaaaaat70vs8/m7xspwaaad8aaaa/aaaa </data> <key>coordcount</key> <integer>1</integer> </dict>
i assume data string array of coordinates (based on key name). question is, how can figure out data stored there? if base64-decode string, gibberish. there way decode , cast whatever format came (nsarray, think)?
why don't load property list , inspect contents?
nsdictionary *plist = [nsdictionary dictionarywithcontentsoffile:...];
Comments
Post a Comment