int 转16 进制 left位补齐 0
left
static String toHexString(int num, {int left = 8}) { String hex = num.toRadixString(16); String hexLeft = hex.padLeft(left, '0'); return '0x${hexLeft.toUpperCase()}'; }