I am actually getting a "application/octet-stream" response from a service, which works perfectly fine when I am streaming a XML or Text/Plain content, but when I am streaming a image is where the problem starts.
Looks like my client side (Adobe Flex) I am getting a string representation of this binary data, now all I want to do is to save it as the actual data itself.
Is there any way to do this? also please not by default Flex uses UTF-8 to store string data, hence the resulting file size as well as the encoding are wrong.
In simple terms all I want to know how to handle a Binary image which is now in the form of a UTF-8 String.
Also similar to that of Java Flex lacks support for unsigned byte is that creating the problem?