int转4字节
static Uint8List intToByte4(int sum) { return Uint8List.fromList( [sum >> 24, (sum >> 16), (sum >> 8), (sum & 0xff)]); }