8 回复
@sumory 真的,,但是我看文档有段话是这样的 ‘binary’ - A way of encoding raw binary data into strings by using only the first 8 bits of each character. This encoding method is deprecated and should be avoided in favor of Buffer objects where possible. This encoding will be removed in future versions of Node. 好像不能用的意思,就以为没办法了。