[
https://issues.apache.org/jira/browse/CODEC-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679766#comment-14679766
]
Oleg Kalnichevski commented on CODEC-202:
-----------------------------------------
Hi Gary
The interfaces do not need to change until 2.0 but it would be nice to have
{{public byte[] encode(final byte[] b, int off, int len)}} method in {{Base64}}
Oleg
> BinaryEncoder / BinaryDecoder should support input with offset and length
> parameters
> ------------------------------------------------------------------------------------
>
> Key: CODEC-202
> URL: https://issues.apache.org/jira/browse/CODEC-202
> Project: Commons Codec
> Issue Type: Improvement
> Affects Versions: 1.10
> Reporter: Oleg Kalnichevski
>
> BinaryEncoder / BinaryDecoder interfaces should also support input with
> offset and length parameters. At the moment one often has to create an
> intermediate copy of an byte array just to truncate it to a particular length
> leading to unnecessary intermediate garbage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)