You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 line
340 B

  1. using MQTTnet.Core.Adapter;
  2. using MQTTnet.Core.Packets;
  3. namespace MQTTnet.Core.Serializer
  4. {
  5. public interface IMqttPacketSerializer
  6. {
  7. MqttProtocolVersion ProtocolVersion { get; set; }
  8. byte[] Serialize(MqttBasePacket mqttPacket);
  9. MqttBasePacket Deserialize(ReceivedMqttPacket receivedMqttPacket);
  10. }
  11. }