Hm - the code doesn't seem to work like I thought. I am creating a ByteArray of a word-file and giving it to the encode function. When I decode it and writing the bytearray back to the hdd, the size is bigger and the file cannot be opened :-/
What am I doing wrong?! Isn't it possible to encode a ByteArray to base64? How would you encode an exe-file to base64?
I rewrote the function, so that I could encode and decode ByteArrays. The code can be found here: http://www.extjs.com/forum/showthrea...635#post430635
Could you tell me Where to find the base 64 encode funtion in Extjs?
Base64 is currently not included in ExtJS SDK.
But there are many ready-to-use extensions, just search forum :)