Hex class is inefficient and uses default platform encoding for String <=>
byte[] conversions
---------------------------------------------------------------------------------------------
Key: CODEC-85
URL: https://issues.apache.org/jira/browse/CODEC-85
Project: Commons Codec
Issue Type: Improvement
Reporter: Sebb
The Hex class uses the following, which rely on the current platform encoding:
new String(byte[] [, int, int])
String.getBytes()
There does not seem to be a bug here (at least I could not provoke one), but it
seems rather inefficient to convert to/from strings in order to treat bytes as
chars.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.