Sent from my Windows MobileĀ® phone.

-----Original Message-----
From: Kevin F. Benz <[email protected]>
Sent: Wednesday, October 28, 2009 2:31 AM
To: [email protected] <[email protected]>
Subject: Re: [flexcoders] How to save a bytearray to a database [5 Attachments]

You want to serialize it..

bytearray.writeObject() writes it to an AMF serialized object.
bytearray.readObject() reads it from an AMF serialized object.

On Oct 27, 2009, at 10:18 PM, flexaustin wrote:

> So I am trying to save a bytearray to a database. I tried  
> bytearray.toString, which works as expected.
>
> But on retrieving the string (bytearray) from the database how would  
> I convert it back to a bytearray?
>
> Thx, J
>
> 

Kevin F. Benz

  [email protected]     (425) 785-7100
  http://www.kbenz.com

  http://www.facebook.com/kbenz      http://www.linkedin.com/in/kbenz

"We can't solve problems by using the same kind of thinking we used  
when we created them" - Albert Einstein





Reply via email to