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 rivejä
344 B

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