commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (Commented) (JIRA)" <>
Subject [jira] [Commented] (LANG-778) Add ByteArrayUtils
Date Wed, 30 Nov 2011 09:01:41 GMT


Joerg Schaible commented on LANG-778:

The original intent was to add somewhere two utility methods to convert between raw bytes
and a UUID. Since I could not find a proper place in lang I created an own class with UUIDUtils.
However, the current functionality is strongly related to DataInput and DataOutput and provides
four methods for each supported type. This can be any primitive as well as UUID. Therefore
I am more inclined to move this issue to IO and add all this as DataIOUtils.

Regarding the patch: Yes, I deleted the old one, I did not see a lot of value keeping the
old stuff.
> Add ByteArrayUtils
> ------------------
>                 Key: LANG-778
>                 URL:
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Joerg Schaible
>            Assignee: Joerg Schaible
>            Priority: Minor
>         Attachments: LANG-778.diff
>   Original Estimate: 8h
>  Remaining Estimate: 8h
> ByteArrayUtils will currently contain only conversion methods between several types and
an array of bytes. The functionality is similar to DataInput and DataOutput, but without the
indirection of IO streams. As special type the utility class supports also conversion between
UUID and byte array (memory layout as described in RFC 4122).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message