[Mono-devel-list] Base64 Class position

David Sheldon dave-monolist at earth.li
Tue Jan 20 05:22:45 EST 2004


On Mon, Jan 19, 2004 at 08:14:51PM -0500, Sebastien Pouliot wrote:
> > Should I create a Mono.Utils
> > namespace, and accompanying directory? This sort of thing is proably
> > quite important in the corlib.
> 
> There's already some Mono.* namespaces inside corlib. I'm myself a big user
> of those namespaces. However I mostly use them when I want to share the code
> between corlib and another assembly (like Mono.Security). If not I prefer to
> use an internal class (and file) inside an existing namespace but YMMV.

I would like to use the same classes in System.XML for decoding Base64
data in XML streams, and don't like to copy all the code. Currently I am
using the S.S.C classes, and implementing my own function to find out
the length.

> Please update the unit tests if you change/fix anything in S.S.C.
> Thanks

I will add a test for the new decoding exception soon. I am currently
trying to go through all the failures in the corlib unit tests and
assign bug numbers to them. It would be nice if the unit tests all
passed, then when people make a change and see failures then they know
it is their fault, rather than having to dig through all of them to see
which they just caused.

David
-- 
"There are two ways to write software. The first is to make it so simple it
obviously has no mistakes, the second is to make it so complex that it has no
obvious mistakes" -- Tony Hoare



More information about the Mono-devel-list mailing list