main function

void main()

Implementation

void main() {
  final hpKey = Uint8List.fromList(
    HEX.decode("6df4e9d737cdf714711d7c617ee82981"),
  );
  final packNumLength = removeHeaderProtection(
    array: quickPacket,
    pnOffset: 23,
    hpKey: hpKey,
    // isShort: false,
  );

  print("Packet number lemgth: $packNumLength");
}