View Single Post
  #3 (permalink)  
Old 05-26-2009, 02:28 AM
99999999 99999999 is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Default

How would you get the contents of a StringStream back into Actionscript?

Say you had an FFish function, is this supposed to work?:

function FFishTest()
{
return new StringStream();
}

If the caller of the FFishTest function was my actionscript, and I was casting that value to a ByteArray could I expect the data to be a ByteArray?

If not how would you do it? Assume the potential for multiple megabytes of data.
Reply With Quote