You could try looping through the bytearray object and convert each
element to is char equivalent but of course there are several problems
with that:

#1 - the byte array can contain negative numbers (a "byte" is a signed
8 bit integer according to java.sun.com, ranging from -128 to +127 ...
and there are no negative numbers in the ascii charts =)

#2 - many of the character codes are not printable and would therefore
not be human readable.

Another alternative to make it "human readable" would be to just loop
through the byte array and add each numeric value to a comma separate
string (list)

rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:335011
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to