Skip navigation.
 
mlNSArchiver and MySQL
FROM : Ben Einstein
DATE : Mon Mar 03 19:08:35 2008

What's the best way to archive/unarchive an NSData object created from 
NSArchiver to a MySQL (or any other) database?

I was thinking:
[archivedData description] for archiving and
[archivedString dataUsingEncoding:someEncoding] for unarchiving. Not 
sure if that will work.

Maybe  [NSString stringWithCharacters:[archivedData byes] length:
[archivedData length]] would be better? Am I heading down a completely 
flawed path? Speed issues?

Any help would be greatly appreciated.

Related mailsAuthorDate
mlNSArchiver and MySQL Ben Einstein Mar 3, 19:08
mlRe: NSArchiver and MySQL Mike Abdullah Mar 3, 19:21
mlRe: NSArchiver and MySQL Jim Correia Mar 3, 20:04
mlRe: NSArchiver and MySQL Ben Einstein Mar 3, 22:55
mlRe: NSArchiver and MySQL Mike Abdullah Mar 4, 00:18