nickkorean / usb-serial-for-android

Automatically exported from code.google.com/p/usb-serial-for-android
GNU Lesser General Public License v3.0
0 stars 0 forks source link

HexDump class reinvents the wheel #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is just a heads up that there is an Integer.toHexString() method in the 
Java API. No reason to implement it on your own.

Original issue reported on code.google.com by alibabas...@web.de on 17 May 2013 at 9:16

GoogleCodeExporter commented 9 years ago
Not the same thing.

Integer.toHexString() only works on, well, Integers.  HexDump methods are 
useful for dumping arbitrary byte streams.

Original comment by mike.wak...@gmail.com on 22 May 2013 at 5:46

GoogleCodeExporter commented 9 years ago
ok, right. Never mind.

Original comment by alibabas...@web.de on 22 May 2013 at 5:57