Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将char* buffer具有二进制数据(从图像文件中读取)的文件转换为 BSON 格式。我正在vc++中尝试它。
char* buffer
您应该能够使用BsonObjBuilder 的 appendBinData 方法将其添加为二进制数据。