Re: [CODEC] Base-n refactoring

2011-01-28 Thread Gary Gregory
Congratulation! Gary On Jan 28, 2011, at 18:28, "Julius Davies" wrote: > On Fri, Jan 28, 2011 at 11:40 AM, Gary Gregory > wrote: >> Now that the main Base-N refactoring is done, the door is open for Base16 ;) >> Juluis, you had mentioned Base16 before, any interest? >> > > Sorry, I can't, a

Re: [CODEC] Base-n refactoring

2011-01-28 Thread sebb
On 28 January 2011 23:27, Julius Davies wrote: > On Fri, Jan 28, 2011 at 11:40 AM, Gary Gregory > wrote: >> Now that the main Base-N refactoring is done, the door is open for Base16 ;) >> Juluis, you had mentioned Base16 before, any interest? >> > > Sorry, I can't, at least not for codec-1.5.  T

Re: [CODEC] Base-n refactoring

2011-01-28 Thread Julius Davies
On Fri, Jan 28, 2011 at 11:40 AM, Gary Gregory wrote: > Now that the main Base-N refactoring is done, the door is open for Base16 ;) > Juluis, you had mentioned Base16 before, any interest? > Sorry, I can't, at least not for codec-1.5. The baby came yesterday!!! He still has no name. 8lbs 3oz

RE: [CODEC] Base-n refactoring

2011-01-28 Thread Gary Gregory
...@seagullsoftware.com Web: seagull.rocketsoftware.com  > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Thursday, January 27, 2011 16:17 > To: Commons Developers List > Subject: Re: [CODEC] Base-n refactoring > > On 27 January 2011 21:03, Gary Gregory > w

Re: [CODEC] Base-n refactoring

2011-01-27 Thread sebb
On 27 January 2011 21:03, Gary Gregory wrote: >> -Original Message- >> From: sebb [mailto:seb...@gmail.com] >> Sent: Thursday, January 27, 2011 15:13 >> To: Commons Developers List >> Subject: [CODEC] Base-n refactoring >> >> I think I've n

RE: [CODEC] Base-n refactoring

2011-01-27 Thread Gary Gregory
> -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Thursday, January 27, 2011 15:13 > To: Commons Developers List > Subject: [CODEC] Base-n refactoring > > I think I've now got the Base32 classes to a reasonable state. (More > tests are sure

RE: [CODEC] Base-n refactoring

2011-01-27 Thread Gary Gregory
> -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Thursday, January 27, 2011 15:13 > To: Commons Developers List > Subject: [CODEC] Base-n refactoring > > I think I've now got the Base32 classes to a reasonable state. (More > tests are sure

[CODEC] Base-n refactoring

2011-01-27 Thread sebb
I think I've now got the Base32 classes to a reasonable state. (More tests are surely needed). I decided to drop all the static encode/decode methods, as this simplifies the class considerably. Perhaps one are two are needed, but it might be best to release without them and add later if there is a

RE: [CODEC] Base-n refactoring

2011-01-26 Thread Gary Gregory
> -Original Message- > From: Julius Davies [mailto:juliusdav...@gmail.com] > Sent: Wednesday, January 26, 2011 17:10 > To: Commons Developers List > Subject: Re: [CODEC] Base-n refactoring > > On Wed, Jan 26, 2011 at 2:09 PM, Julius Davies > wrote: > >>

Re: [CODEC] Base-n refactoring

2011-01-26 Thread Julius Davies
On Wed, Jan 26, 2011 at 2:09 PM, Julius Davies wrote: >> >> Which begs for full support of the RFC with... Base16! >> >> That should really clean up the refactoring :) >> >> Gary >> > > Nice work, Sebb!   Gary if you do Base64 I'll do Base2 > > > Doh, meant to say "Gary, if you do Base16 I'l

Re: [CODEC] Base-n refactoring

2011-01-26 Thread Julius Davies
> > Which begs for full support of the RFC with... Base16! > > That should really clean up the refactoring :) > > Gary > Nice work, Sebb! Gary if you do Base64 I'll do Base2 -- yours, Julius Davies 250-592-2284 (Home) $ sudo apt-get install cowsay $ echo "Moo." | cowsay | cowsay -n |

RE: [CODEC] Base-n refactoring

2011-01-26 Thread Gary Gregory
> -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Wednesday, January 26, 2011 11:05 > To: Commons Developers List > Subject: [CODEC] Base-n refactoring > > I have just committed a reworking of the Base32 class, and added I/O > stream classes for i

[CODEC] Base-n refactoring

2011-01-26 Thread sebb
I have just committed a reworking of the Base32 class, and added I/O stream classes for it. As can be seen, the specific I/O classes are pretty simple, as most of the code is in the super-classes. I think these are probably good enough (apart from the name!) Likewise, the Base32 super-class (curr