mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:05:14 +08:00
Migrate to Stream-less approach.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using MQTTnet.Packets;
|
||||
|
||||
@@ -11,6 +10,6 @@ namespace MQTTnet.Serializer
|
||||
|
||||
ArraySegment<byte> Serialize(MqttBasePacket mqttPacket);
|
||||
|
||||
MqttBasePacket Deserialize(MqttPacketHeader header, MemoryStream body);
|
||||
MqttBasePacket Deserialize(MqttPacketHeader header, Stream body);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user