如何将二进制字符串转换为base64编码数据 [英] How to convert a binary string into base64 encoded data

查看:428
本文介绍了如何将二进制字符串转换为base64编码数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在字符串中接收二进制数据。我想把它编码到Base64。有没有类做这个操作(我想要一个API)。

解决方案

快速google搜索 c ++ base64 为您提供以下链接:

1

2

3


I am receiving binary data in a string. I want to encode that into Base64. Is there any class to do that operation (I want an API).

解决方案

A quick google search for c++ base64 gives you these links:
1
2
3

这篇关于如何将二进制字符串转换为base64编码数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆