You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2009/08/01 06:18:14 UTC
[jira] Resolved: (CODEC-59) Add methods to Base64 which work with
String instead of byte[]
[ https://issues.apache.org/jira/browse/CODEC-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved CODEC-59.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.x)
1.4
Patch applied with one added test code line to keep line code coverage at 100%. Branch coverage up to 92% from 91%.
> Add methods to Base64 which work with String instead of byte[]
> --------------------------------------------------------------
>
> Key: CODEC-59
> URL: https://issues.apache.org/jira/browse/CODEC-59
> Project: Commons Codec
> Issue Type: Improvement
> Reporter: Pepijn Schmitz
> Priority: Minor
> Fix For: 1.4
>
> Attachments: codec59-2009-07-28.patch
>
>
> It would be great if the Base64 class had String encode(byte[]) and byte[] decode(String) methods. The RFC is stated in terms of "characters" for the encoding, so there should be no problem with unwarranted assumptions with this. Currently everyone is having to convert to and from Strings themselves.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.