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.
由于您只需要能够下载它,因此将其作为字符串保存就可以了。如果您可以改用节点缓冲区,它会更加健壮,但 javascript 字符串应该携带您的所有字节。
请注意如何处理下载 api,以确保它不会变成其他东西。