× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Scott,

I had about decided to go the C route.  This post was a last ditch effort to 
find an solution in RPG.  I would like to take a shot at writing a decoder but 
time on the project really doesn't permit that.

Thanks,

Rick

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Scott Klement
Sent: Tuesday, November 09, 2004 6:46 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Base64 Encoding



> Does anyone know where I can find RPG examples of decoding a base64
> string?  Numerous searches result in lots of mine hits, and standards
> documents but nothing I can use in RPG.

Well, I wrote a base64 decoder a while back. Wasn't very fast, but it was
written at V3R2 and I was a bit limited in what I could do.
Unfortunately, I can't give it out publicly because I don't own the code.

On the other hand, there are many C examples on the 'net.  Why not grab
one of those and compile it on your iSeries?  The C compiler is included
in the same licpgm as the RPG compiler now, so if you have RPG, SEU, WDSc,
etc, you've also got the rights to use the C compiler.  Just make a srvpgm
out of it, then call it from RPG...



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.