💾 Archived View for mirrors.apple2.org.za › archive › ground.icaen.uiowa.edu › MiscInfo › Programmin… captured on 2023-01-29 at 10:13:25.
-=-=-=-=-=-=-
Path: news.uiowa.edu!chi-news.cic.net!nntp.coast.net!news2.acs.oakland.edu!newshub.gmr.com!hobbes.tad.eds.com!maverick.tad.eds.com!news-admin@tad.eds.com From: Erick Wagner <wagnere@netcom.com> Newsgroups: comp.sys.apple2.comm Subject: Re: BASE64 Compression Date: 26 Feb 1996 19:13:41 GMT Organization: PRC Lines: 167 Message-ID: <4gt0p5$p2p@maverick.tad.eds.com> References: <billg-0902960738520001@betty-p04.netinfo.com.au> <bd70339@pro-nsdapple.cts.com> <4ft19a$15j@maverick.tad.eds.com> <4gqrg1$g2q@madeline.INS.CWRU.Edu> NNTP-Posting-Host: 148.94.8.235 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.22 (Windows; I; 16bit) gj380@cleveland.Freenet.Edu (Adalbert Goertz) wrote: > >it would be nice if someone would write a base64 decompressor. I'm not sure who the original author was but here's some base64 source I snagged off the 'net (after using one of the search engines). I've used it a couple of times on the PC and it seems work okay, but I never come across base64-encoded data very often to say that this program works as it should... The only changes I've made to this source has been in the way of comments (especially usage notes). Good luck Erick /* BASE64.C PURPOSE Decode BASE64 encoded data NOTES This program expects to receive a BASE-64 encoded data stream via "stdin" and sends the decoded data stream to "stdout" pgm < inputfile > outputfile After using this program and depending on specific OS requirements, you may need to rename the file with the proper file extension, set the proper file type (and auxiliary file type if applicable), or perform additional manipulations before the new file will be recognized in the target environment.