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 2014/11/10 17:14:34 UTC
[jira] [Comment Edited] (CODEC-193) Support java.nio.ByteBuffer in
DigestUtils
[ https://issues.apache.org/jira/browse/CODEC-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204938#comment-14204938 ]
Gary Gregory edited comment on CODEC-193 at 11/10/14 4:14 PM:
--------------------------------------------------------------
In SVN now. Please checkout and build trunk and test for your use case.
was (Author: garydgregory):
In SVN.
> Support java.nio.ByteBuffer in DigestUtils
> ------------------------------------------
>
> Key: CODEC-193
> URL: https://issues.apache.org/jira/browse/CODEC-193
> Project: Commons Codec
> Issue Type: Improvement
> Reporter: Michael Donaghy
> Assignee: Gary Gregory
> Priority: Minor
> Fix For: 1.11
>
>
> The underlying {{MessageDigest}} API provides an {{update(ByteBuffer)}} method. It would be great to have support for this in {{DigestUtils}} so I can call e.g. {{md5Hex(ByteBuffer)}}, as it is surprisingly hard to treat a {{ByteBuffer}} as e.g. an {{InputStream}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)