【问题标题】:Decoding output of Adobe Flex Base64encoder with C++使用 C++ 解码 Adob​​e Flex Base64encoder 的输出
【发布时间】:2010-07-06 15:06:33
【问题描述】:

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

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

【问题讨论】:

    标签: c++ apache-flex base64 decode rfc


    【解决方案1】:

    对于有同样问题的人:

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

    【讨论】:

      猜你喜欢
      • 2010-11-16
      • 1970-01-01
      • 2021-03-16
      • 1970-01-01
      • 1970-01-01
      • 2012-02-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多