[ 
https://issues.apache.org/jira/browse/CODEC-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945332#comment-15945332
 ] 

Sebb commented on CODEC-145:
----------------------------

Ditto for encodeBase64URLSafeString



> Base64.encodeBase64String could better use newStringUsAscii
> -----------------------------------------------------------
>
>                 Key: CODEC-145
>                 URL: https://issues.apache.org/jira/browse/CODEC-145
>             Project: Commons Codec
>          Issue Type: Bug
>            Reporter: Jesse Glick
>            Priority: Minor
>              Labels: base64
>
> {{org.apache.commons.codec.binary.Base64.encodeBase64String}} currently uses 
> {{StringUtils.newStringUtf8}}. But the text should be in fact be in ASCII, so 
> {{newStringUsAscii}} would be clearer and perhaps faster.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to