addInt method

Add a long word, 64 bits or a Dart int

Implementation

MqttClientPayloadBuilder addInt(int val) {
  final tmp = Uint64List.fromList(<int>[val]);
  _payload!.addAll(tmp.buffer.asInt8List());
  return this;
}