views:

242

answers:

2

I have some files that are uuencoded, and I need to decode them, using either .NET 2.0 or Visual C++ 6.0. Any good libraries/classes that will help here? It looks like this is not built into .NET or MFC.

A: 

Try uudeview, here. It is an open source library which works well and will also handle yenc files in addition to uuencoded ones. You can use it with C/C++ or write an interop wrapper for C# without much trouble.

R Ubben
A: 

Code Project has a .NET library + source code for uuencoding/decoding. The actual algorithm itself is quite widely disseminated over the web and is quite short.

The Code Project link: http://www.codeproject.com/KB/security/TextCoDec.aspx

Short intro from the article:

This article presents a class library for encoding/decoding files and/or text in several algorithms in .NET. Some of the features of this library:

Encoding/decoding text in Quoted Printable Encoding/decoding files and text in Base64 Encoding/decoding files and text in UUEncode Encoding/decoding files in yEnc

code4life