From 488e237b6f4ad9c72be43411569f966fe6525757 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Wed, 5 Mar 2025 12:36:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/tcp2byte/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry/src/main/ets/tcp2byte/index.ts b/entry/src/main/ets/tcp2byte/index.ts index 5dec3f24..07b9cb2d 100644 --- a/entry/src/main/ets/tcp2byte/index.ts +++ b/entry/src/main/ets/tcp2byte/index.ts @@ -95,8 +95,8 @@ function handSendMessage(client: socket.TCPSocket, type, data) { //处理接收的数据 function handReceiveMessage(client: socket.TCPSocket, sendData, rData: ArrayBuffer): RES { - const receiveData = new Uint8Array(rData) + console.info(TAG, 'receiveData=>' + JSON.stringify(receiveData)) //返回的消息类型 const messageType = receiveData[1]; //流水号