Get integer as byte array
static Uint8List intToBytes(int inNum) { String hex = inNum.toRadixString(16); return PDUtil.hexToBytes(hex); }