请您参考如下方法:
我已使用 base64encode 完成此操作。
我构建了一个 json 对象 - 示例:
data = {
filname = 'myfile.txt',
b64 = 'the base64 representation of the file'
}
然后,在消费者端
base64解码:)
请您参考如下方法:
我已使用 base64encode 完成此操作。
我构建了一个 json 对象 - 示例:
data = {
filname = 'myfile.txt',
b64 = 'the base64 representation of the file'
}
然后,在消费者端
base64解码:)