[
https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156777#comment-13156777
]
Sebb commented on LANG-778:
---------------------------
I suggested NetworkByteUtils because it is "network byte order".
The new patch looks good.
I would prefer to replace some of the "magic" numbers with commented constants.
[Checkstyle may well catch this too]
> 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