Re: base64
Re: base64
- Subject: Re: base64
- From: Shawn Erickson <email@hidden>
- Date: Tue, 10 Feb 2004 12:13:58 -0800
So write what you need...
Note that Base64 is normally used to encode binary data into a 7bit
printable ASCII string (of a nonwrapping length for mailers). So your
methods outlined below are a little abnormal for that type of flow
(NSData<->NSString makes a little more sense).
Base64 is not that hard to implement especially given Kyle's code as
basis. Also the category on NSData that Kyle listed is a sensible way
to work with Base64.
-Shawn
On Feb 10, 2004, at 11:21 AM, Sascha Kuehn wrote:
i know your code but how don't how to use is.
i need this to methods.
+ (NSString *) encode: (NSString *) string ;
+ (NSString *) decode: (NSString *) string ;
sascha
On 10. Feb 2004, at 19:19 Uhr, Kyle Hammond wrote:
Hi,
Check out my Base64 Cocoa code at
<http://www.cpinternet.com/~em002400/CocoaProgramming.html>
Kyle
On Feb 10, 2004, at 11:54 AM, Sascha Kuehn <email@hidden>
wrote:
i'm not too familiar with cocoa and obj-c yet.
can someone please write me two methods to en- / decode a string with
base64?
something like this:
+ (NSString *) encode: (NSString *) string ;
+ (NSString *) decode: (NSString *) string ;
this would be very nice of you.
sascha
---------------------
Kyle Hammond
email@hidden
<http://www.snowmintcs.com/> - personal productivity software
<http://www.codeblazer.com/> - multimedia software solutions
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: base64 (From: Kyle Hammond <email@hidden>) |
| >Re: base64 (From: Sascha Kuehn <email@hidden>) |