commons-issues mailing list archives

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

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

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: https://issues.apache.org/jira/browse/LANG-778
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message