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 39AF6DAE1 for ; Wed, 3 Oct 2012 22:42:08 +0000 (UTC) Received: (qmail 64866 invoked by uid 500); 3 Oct 2012 22:42:07 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 64757 invoked by uid 500); 3 Oct 2012 22:42:07 -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 64740 invoked by uid 99); 3 Oct 2012 22:42:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 22:42:07 +0000 Date: Thu, 4 Oct 2012 09:42:07 +1100 (NCT) From: "Joerg Schaible (JIRA)" To: issues@commons.apache.org Message-ID: <541900754.162259.1349304127846.JavaMail.jiratomcat@arcas> In-Reply-To: <317279166.2380.1321967681436.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (LANG-778) Add methods uuidToByteArray and byteArrayToUuid 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 resolved LANG-778. --------------------------------- Resolution: Fixed Added as methods to class Conversion that contains already all the conversions between bytes and longs. > Add methods uuidToByteArray and byteArrayToUuid > ----------------------------------------------- > > 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 > Fix For: 3.2 > > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira