static String toHex(List<int> data) { var hex = data.map((e) => e.toRadixString(16).padLeft(2, '0')).join(); return hex; }