intToBytes static method

Uint8List intToBytes(
  1. int inNum
)

Get integer as byte array

Implementation

static Uint8List intToBytes(int inNum) {
  String hex = inNum.toRadixString(16);
  return PDUtil.hexToBytes(hex);
}