Re: [flexcoders] cover file to ByteArray in Air.

2009-05-08 Thread Charles Parcell
Wouldn't writeUTF() work? or you can do myByteArray.toString() Charles P. On Fri, May 8, 2009 at 11:41 AM, markflex2007 wrote: > Hi, > > I try to use File class,FileStream and ByteArray Class to convert a text > file( test.txt) to ByteArray. I also need covert the ByteArray back to text > fi

[flexcoders] cover file to ByteArray in Air.

2009-05-08 Thread markflex2007
Hi, I try to use File class,FileStream and ByteArray Class to convert a text file( test.txt) to ByteArray. I also need covert the ByteArray back to text file. Please give a idea how to do this.Thanks Mark