Convert Byte array to the original file in javascript

独自空忆成欢 提交于 2019-12-13 06:59:31

问题


I am sending a Byte array which was originally a binary in the database. the processes of sending the byte array is fine, but the problem is how can I handle this byte array.

1) can I handle it using javascript, I mean can I retrieve the byte array and convert it back to its original state. if yes how ?

2) if no what other way I can do that.

What I want to do is to make the client side able to download files from the WCF without using a stream, I don't need stream because I know that the downloaded and uploaded files are small in size.

来源:https://stackoverflow.com/questions/12603307/convert-byte-array-to-the-original-file-in-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!