开发者

Decoding output of Adobe Flex Base64encoder with C++

I've developed web services in C++ and have implemented the ability to provide a b开发者_如何学JAVAase 64 encoded string to send files with other meta data. While I have successfully decoded the string when the encoded data is a text file, images and other binary files are not decoding correctly.

Can you point me to a C++ library or implementation of base64 decode that works with Adobe Flex Base64encoder? What RFC does the Flex encode/decode implement?


For those with the same issue:

Set "encoder.useNewLines = false" in Flex and use the base64 library at http://code.google.com/p/stringencoders/.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜