【发布时间】:2017-12-18 19:40:39
【问题描述】:
我正在使用 REST API,它通过八位字节流向我发送一个 zip 文件。我正在尝试使用 angular4 检索此文件,虽然一切顺利,但我需要将传入的 ArrayBuffer 转换为 zip 文件。我一直在看 JsZip,但它似乎没有提供我需要的功能,我似乎无法弄清楚最好的方法是什么。
this.issueIdentity('person', 'bk').subscribe((response)=>{
console.log("sucessfully issued identity to participant", response);
this.enrollmentData = response.arrayBuffer();
})
欢迎帮助
【问题讨论】:
标签: javascript hyperledger-composer jszip