lizhanwei
2020-02-13 d764ab52c649f81228ec253053f520d9e51de876
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();
}