views:

755

answers:

2

Any replacement for the AS3 ByteArray where you can read raw binary data via any medium?

Maybe load a TXT file and access the characters byte-by-byte? Any ideas?

A: 

"The Socket class enables ActionScript code to make socket connections and to read and write raw binary data. It is similar to XMLSocket but does not dictate the format of the received or transmitted data. "

Jenko
Socket is part of the AS3 API. RTQ. Downvote.
spender
+2  A: 

search for base64 - that's how to do it.

Iain
Yeah lain, you won't believe it, that EXACTLY what I'm doing! See here http://stackoverflow.com/questions/19893/how-do-you-embed-binary-data-in-xml I JUST found and commented on the question!
Jenko