Re: [flexcoders] Re: Decoding output of Flex Base64encoder in C++

2010-07-07 Thread Oleg Sivokon
Hey... HaXe compiles to CPP... all you need is just to compile it to flash and CPP, that's it... well, almost, flash memory uses big endians, so you may want to remove the flipping of the first and third bytes in decode function, and, of course, don't use Memory.select() when compiling to CPP (that

[flexcoders] Re: Decoding output of Flex Base64encoder in C++

2010-07-07 Thread cupofjoe1744
Turns out that modpbase64 doesn't like the line breaks (not sure yet if it is a configuration issue). Anyhow, I can disable line breaks with the encoder and be good to go. --- In flexcoders@yahoogroups.com, Oleg Sivokon wrote: > > Adobe encoder can conditionally ad linebreaks, that is all the

[flexcoders] Re: Decoding output of Flex Base64encoder in C++

2010-07-07 Thread cupofjoe1744
I must have slept through that class. So, if it is really simple, can you provide some assistance with an example that works with Flex Base64encoder (in C/C++)? I've tried a number of libraries (including modpbase64 -- used by Google Chrome and Google Gears), and can only get decoding of text

[flexcoders] Re: Decoding output of Flex Base64encoder in C++

2010-07-07 Thread cupofjoe1744
Would it not be better if you kept your snide comments to yourself? Seriously, get over yourself. I only posted to flexcoders after extensive trial and error. If it was the simple (for me), I'd have done it already. --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > On Tuesday 06 Ju

[flexcoders] Re: Decoding output of Flex Base64encoder in C++

2010-07-07 Thread cupofjoe1744
I'm not concerned so much with the speed of encoding on the client side as much as correctness. So, unless the SDK Base64encoder is faulty, I'd like to stick with it. My real concern is how to properly decode the base64 string it produces on the server. I've tried a number of C/C++ libraries