pack method

Uint8List pack(
  1. int capacity
)

Implementation

Uint8List pack(int capacity) {
  final IsoBuffer buffer = IsoBuffer.allocate(capacity);
  for (final TlvMsg item in tags) {
    buffer.putBytes(item.toTlv(capacity));
  }
  return buffer.toBytes();
}