[ https://issues.apache.org/jira/browse/CODEC-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733013#action_12733013 ]
Gary Gregory commented on CODEC-59: ----------------------------------- About the "5 lines" fix: can you provide a test that shows the bug. It would be good to see a test to address this fix specifically. > 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.x > > Attachments: codec59.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.