commons-issues mailing list archives

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

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

Sebb commented on LANG-778:
---------------------------

Sorry, but I don't see that the code is related to DataInput/DataOutput.
The only common factor is that they both use the same byte ordering, i.e. MSB (most significant
byte) aka "network byte order".

I'm also not sure it is particularly IO-related.
If it does not belong in Lang, it perhaps belongs in Codec, but that brings in a lot of stuff
that is not really related.
                
> 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