socket.setEncoding([encoding])
encoding
<string>- 返回: <net.Socket> Socket 本身。
设置作为可读流的编码。在 readable.setEncoding()
查看更多详情。
encoding
<string>- Returns: <net.Socket> The socket itself.
Set the encoding for the socket as a Readable Stream. See
readable.setEncoding()
for more information.