commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CODEC-193) Support java.nio.ByteBuffer in e.g. DigestUtils
Date Mon, 10 Nov 2014 12:56:33 GMT

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

Gary Gregory commented on CODEC-193:
------------------------------------

How did you do it?

> Support java.nio.ByteBuffer in e.g. DigestUtils
> -----------------------------------------------
>
>                 Key: CODEC-193
>                 URL: https://issues.apache.org/jira/browse/CODEC-193
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Michael Donaghy
>            Priority: Minor
>
> 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)

Mime
View raw message