app/src/main/java/safeluck/drive/evaluation/bean/DriveExamProtocol.java
@@ -98,7 +98,8 @@ System.arraycopy(msgIdBytes,0,desBytes,pos,msgIdBytes.length); pos+=msgIdBytes.length; //消息体属性 //消息体属性 默认为消息体长度 msg_property = msgBodyLength(); byte[] msg_pro_bytes = ByteUtil.shortGetBytes(msg_property); System.arraycopy(msg_pro_bytes,0,desBytes,pos,msg_pro_bytes.length); pos+=msg_pro_bytes.length; @@ -133,6 +134,6 @@ return tranferbytes; } protected abstract int msgBodyLength(); protected abstract short msgBodyLength(); }