Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A23A9C51 for ; Thu, 24 Nov 2011 14:48:06 +0000 (UTC) Received: (qmail 15472 invoked by uid 500); 24 Nov 2011 14:48:05 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 15337 invoked by uid 500); 24 Nov 2011 14:48:05 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 15324 invoked by uid 99); 24 Nov 2011 14:48:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 14:48:05 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 14:48:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AC2B39CDF2 for ; Thu, 24 Nov 2011 14:47:43 +0000 (UTC) Date: Thu, 24 Nov 2011 14:47:43 +0000 (UTC) From: "Joerg Schaible (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <1325034479.9857.1322146063706.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <317279166.2380.1321967681436.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LANG-778) Add ByteArrayUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joerg Schaible updated LANG-778: -------------------------------- Description: 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). (was: A UUID represents 16 bytes. In some situation (e.g. using DBs that do not have native support for the type UUID) it is necessary to use directly the bytes. The JDK does not support the transformation from UUID to bytes and back, therefore I'd like to add UUIDUtils with the two proposed methods.) Remaining Estimate: 8h (was: 4h) Original Estimate: 8h (was: 4h) Summary: Add ByteArrayUtils (was: Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray) > 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 > 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