0

There are several ways to convert a byte array to Hex. However, when the array is large, efficiency matters here. Thus, do you think using libraries like org.apache.commons.codec.binary.Hex would be faster? Is there a way that has been proven to be more efficient than others?

Thank you :)

Buhake Sindi
  • 87,898
  • 29
  • 167
  • 228
Mike
  • 380
  • 4
  • 19
  • 3
    "*Thus, do you think using libraries like `org.apache.commons.codec.binary.Hex` would be faster?*" would be faster than what? – Pshemo Aug 04 '14 at 12:28
  • You can just try it. Here's [how](http://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-java) – biziclop Aug 04 '14 at 12:28
  • http://stackoverflow.com/q/9655181/544983 – Juvanis Aug 04 '14 at 12:29

0 Answers0