The byteArray in question is an Active Directory msExchMailboxGuid
field. I'm trying to put an app together as a helper to our backup
software (which we generally access with a browser in case anyone is
wondering why I'd use CF for something like this). We found out that it
has trouble recovering purged mailboxes yesterday and the key is the
msExchMailboxGuid, which comes out of cfldap completely unintelligible.
I need to be able to pull two of these, verify that that one matches
what the backup software is looking for, change the other, and change it
back at a certain point in the restore process.

I've got all that worked out except how to make it readable so that a
human can verify that it grabbed the right one.

-----Original Message-----
From: denstar [mailto:[email protected]] 
Sent: Wednesday, June 30, 2010 11:22 PM
To: cf-talk
Subject: Re: ByteArray objects


On Wed, Jun 30, 2010 at 11:07 AM, Sisk, Kris wrote:
>
> Is there a way to convert a java bytearray into something human
> readable? Everything I've tried has thrown a "ByteArray objects cannot
> be converted to strings" error.

yourByteArray.toString() maybe?  Depends if it's binary data or not, I
think.

If you can provide more info, I'm sure I can help.  I do all kinds of
stuff like this in the various projects I work on.

:Den

-- 
When a man fails to see the truth of certain generally accepted views,
there is no law compelling him to provoke animosity by announcing his
dissent.
George Henry Lewes



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335015
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to