Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

后端返回Buffer的二进制数据,前端接收到就变了数据格式?

$
0
0

后端返回Buffer的二进制数据,前端接收到就变了数据格式? 是编码问题?还是什么原因? 图1:node输出的1516254279(1).png图2:客户端输出的。1516254253(1).png node是返回Buffer类型的给前端了!!!求大神们解答?


Viewing all articles
Browse latest Browse all 14821

Trending Articles