You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "venkata ramana reddy L (Jira)" <ji...@apache.org> on 2020/06/02 01:00:00 UTC

[jira] [Commented] (CODEC-289) Base32/64Input/OutputStream to allow optional strict/lenient decoding

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

venkata ramana reddy L commented on CODEC-289:
----------------------------------------------

[~aherbert] - When is the release of 1.15 planned? 

> Base32/64Input/OutputStream to allow optional strict/lenient decoding
> ---------------------------------------------------------------------
>
>                 Key: CODEC-289
>                 URL: https://issues.apache.org/jira/browse/CODEC-289
>             Project: Commons Codec
>          Issue Type: Improvement
>    Affects Versions: 1.14
>            Reporter: Alex Herbert
>            Assignee: Alex Herbert
>            Priority: Major
>             Fix For: 1.15
>
>
> Add the strict decoding option from the Base32/64 decoder to the Input/OutputStream versions.
> Requires adding a property to BaseNCodecInputStream and BaseNCodecOutputStream to pass through to the underlying decoder:
> {code:java}
> public void setStrictDecoding(boolean strictDecoding) {
>    baseNCodec.setStrictDecoding(strictDecoding);
> }
> public boolean isStrictDecoding() {
>    return baseNCodec.isStrictDecoding();
> }
> {code}
> This would allow Base32/64 Input/Output streams to use the strict decoding mode. Default behaviour would be lenient decoding for backward compatibility.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)