socket.setEncoding([encoding])
encoding<string>- 返回:<net.Socket> 套接字本身。
将套接字的编码设置为 可读流。有关详细信息,请参见 readable.setEncoding()。
【Set the encoding for the socket as a Readable Stream. See
readable.setEncoding() for more information.】
encoding <string>将套接字的编码设置为 可读流。有关详细信息,请参见 readable.setEncoding()。
【Set the encoding for the socket as a Readable Stream. See
readable.setEncoding() for more information.】