📜  如何在python代码示例中解码recv数据

📅  最后修改于: 2022-03-11 14:46:56.558000             🧑  作者: Mango

代码示例1
buffer = socket.recv(1024)
buffer.decode("utf-8", "ignore")