commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CODEC-85) Hex class is inefficient and uses default platform encoding for String <=> byte[] conversions
Date Mon, 03 Aug 2009 14:17:14 GMT

     [ https://issues.apache.org/jira/browse/CODEC-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved CODEC-85.
-----------------------

    Resolution: Fixed

Forgot I'd already raised this as part of CODEC-73...

> 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.


Mime
View raw message