mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 09:43:05 +08:00
23 lines
490 B
C#
23 lines
490 B
C#
using System;
|
|
using MQTTnet.Serializer;
|
|
|
|
namespace MQTTnet.Packets.Properties
|
|
{
|
|
public class TwoByteIntegerValue : IPropertyValue
|
|
{
|
|
public TwoByteIntegerValue(ushort value)
|
|
{
|
|
Value = value;
|
|
}
|
|
|
|
public ushort Value { get; }
|
|
|
|
public void WriteTo(MqttPacketWriter writer)
|
|
{
|
|
if (writer == null) throw new ArgumentNullException(nameof(writer));
|
|
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|