They are pretty similar I think.
HexDump seems to do more than just convert a byte[] to a String, but that could just be me not taking the time to delve into the bit-shifting going on, and not being the type of coder who uses bit-shifting a lot. It's tied to an OutputStream, and it doesn't take an InputStream to a byte[]. Bay On Fri, 22 Feb 2002, Scott Sanders wrote: > How is this different from the HexDump class that was in util (I think > it is in codec now)? > > Scott > > On Fri, Feb 22, 2002 at 11:17:51PM -0500, [EMAIL PROTECTED] wrote: > > I have a class I'm about to add to Lang which turns byte[] into > > hexadecimal String and viceversa. It builds on simple java.lang stuff, so > > I've always placed it in lang, but as I was committing I realised it could > > be viewed as a codec. > > > > Any views on whether it's central enough to be lang, or should go in > > codec? > > > > Bay > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- > Scott Sanders - [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
