int转2字节
static Uint8List intToByte2(int sum) { return Uint8List.fromList([(sum >> 8), (sum & 0xff)]); }