socket.setEncoding([encoding])


将套接字的编码设置为 可读流。有关详细信息,请参阅 readable.setEncoding()

¥Set the encoding for the socket as a Readable Stream. See readable.setEncoding() for more information.