discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base64 coder/decoder for GNUstep


From: Fred Kiefer
Subject: Re: base64 coder/decoder for GNUstep
Date: Fri, 27 Feb 2004 01:12:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821

Alexander Malmberg wrote:
Andreas Hoeschler wrote:

we need to decode a base64 stream in an NSData object. Do we need to
implement a decoder on our own or is such a beast available for
download anywhere? What I am looking for is a category method for
NSData like

- (NSData *)decodedBase64Stream;

Any ideas? Thanks a lot!


Pantomime's MimeUtility class can do that:

+ (NSData *) decodeBase64: (NSData *) theData;


A similar method already exists in base/Source/Additions/GSMime.m on GSMimeDocument.

Cheers
Fred





reply via email to

[Prev in Thread] Current Thread [Next in Thread]