使用 C++ 解码 Adob​​e Flex Base64encoder 的输出

发布于 2024-09-08 01:42:20 字数 193 浏览 3 评论 0原文

我用 C++ 开发了 Web 服务,并实现了提供 Base 64 编码字符串来发送带有其他元数据的文件的功能。虽然当编码数据是文本文件时我已成功解码字符串,但图像和其他二进制文件无法正确解码。

您能否向我指出与 Adob​​e Flex Base64encoder 配合使用的 C++ 库或 Base64 解码实现? Flex 编码/解码实现什么 RFC?

I've developed web services in C++ and have implemented the ability to provide a base 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你怎么这么可爱啊 2024-09-15 01:42:20

对于遇到相同问题的用户:

在 Flex 中设置“encoder.useNewLines = false”并使用 处的 base64 库http://code.google.com/p/stringencoders/

For those with the same issue:

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文