📜  base64 编码打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:17.629000             🧑  作者: Mango

代码示例1
//for png image
result = "data:image/" + "png+xml" + ";base64, " + bas64FromatResult;

//for svg image
result = "data:image/" + "svg+xml" + ";base64, " + bas64FromatResult;