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.
|