VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

UUDecode Class

Mark Parker  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Advanced   Wed 3rd February 2021

This code is based upon the ONLY other VB uuencode/uudecode source code available (it's here). I put this together as part of a larger project that I'm in the middle of (a USENET binary downloader) and I wanted a uudecode routine that would decode on-the-fly. This does. It also encodes and decodes files, like a normal encoder/decoder. I spent a lot of time optimizing it, and I think it'll now decode fast enough to handle most DSL/Cable accounts on the fly (480-590 kb/s). Error checking is sparse, hopefully there's no glaring bugs. Hope it's helpful, and let me know if there's any more optimizations that you can find!
[Update] I fixed the problems described below, and also replaced the static filenumbers with dynamically generated ones. Doh!
[Update] Another bug found and fixed. There were null characters at the end of each line of files encoded with UUEncodeFile. They're gone now...

Rate UUDecode Class (6(6 Vote))

Download UUDecode Class

UUDecode Class Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters