Skip navigation.
 
mlRe: NSArchiver and MySQL
FROM : Mike Abdullah
DATE : Mon Mar 03 19:21:33 2008

Relying on -description would almost certainly be a bad idea as it 
might change in the future. Also, it will take up a lot of room. I'd 
recommend:

http://www.dribin.org/dave/blog/archives/2006/03/12/base64_cocoa/

Mike.

On 3 Mar 2008, at 18:08, Ben Einstein wrote:

> 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.
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

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