mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
19 lines
417 B
C#
19 lines
417 B
C#
namespace MQTTnet.Formatter
|
|
{
|
|
public struct MqttFixedHeader
|
|
{
|
|
public MqttFixedHeader(byte flags, int remainingLength, int totalLength)
|
|
{
|
|
Flags = flags;
|
|
RemainingLength = remainingLength;
|
|
TotalLength = totalLength;
|
|
}
|
|
|
|
public byte Flags { get; }
|
|
|
|
public int RemainingLength { get; }
|
|
|
|
public int TotalLength { get; }
|
|
}
|
|
}
|