Commit 84352054 by xmh

修改校验位为小端模式

1 parent b49ca480
......@@ -158,9 +158,9 @@ public class TrafficModel extends BaseModel {
this.data = new byte[count + 4];
System.arraycopy(bytes, 0, data, 0, count);
this.data[count++] = (byte) (value >> 24);
this.data[count++] = (byte) (value >> 16);
this.data[count++] = (byte) value;
this.data[count++] = (byte) (value >> 8);
this.data[count] = (byte) value;
this.data[count++] = (byte) (value >> 16);
this.data[count] = (byte) (value >> 24);
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!