messageKey static method

String messageKey(
  1. IsoMsg message
)

The mux key: the four sequence bytes of the link header, in hex. Ported from OssMessageKeyProvider.

Implementation

static String messageKey(IsoMsg message) {
  final Uint8List? header = message.isoHeader;
  if (header == null) throw StateError("message has no link header");
  return IsoUtil.hexString(OssAcqHeader.raw(header).sequence);
}