From 9535e98f7d1185fbfcf4c690ae07fa1d91ff772c Mon Sep 17 00:00:00 2001 From: CZ Date: Tue, 18 Jun 2024 17:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E6=B5=8B=E8=AF=95=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/TBox/Codec/Encoder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/TBox/Codec/Encoder.cs b/Service/TBox/Codec/Encoder.cs index f0ab00c..7414f71 100644 --- a/Service/TBox/Codec/Encoder.cs +++ b/Service/TBox/Codec/Encoder.cs @@ -21,7 +21,7 @@ public class Encoder : MessageToByteEncoder { byte[] bytes = obj.ToBytes(); byte[] result = - { 0x88, bytes[0], bytes[1], bytes[2], bytes[3], bytes[4], bytes[5], bytes[6], bytes[7], 0, 0, 0, 0 }; + { 0x88, bytes[3], bytes[2], bytes[1], bytes[0], bytes[4], bytes[5], bytes[6], bytes[7], bytes[8], bytes[9], bytes[10], bytes[11] }; Log.Info($"send={BitUtls.BytesToHexStr(result)}"); output.WriteBytes(result);