commons-issues mailing list archives

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

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

Niall Pemberton closed CODEC-85.
--------------------------------


> 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