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.
 
 
 
 

15 regels
374 B

  1. using System;
  2. using System.Collections.Generic;
  3. using MQTTnet.Packets;
  4. namespace MQTTnet.Serializer
  5. {
  6. public interface IMqttPacketSerializer
  7. {
  8. MqttProtocolVersion ProtocolVersion { get; set; }
  9. ICollection<ArraySegment<byte>> Serialize(MqttBasePacket mqttPacket);
  10. MqttBasePacket Deserialize(MqttPacketHeader header, byte[] body);
  11. }
  12. }