MqttFixedHeader.cs 417 B

123456789101112131415161718
  1. namespace MQTTnet.Formatter
  2. {
  3. public struct MqttFixedHeader
  4. {
  5. public MqttFixedHeader(byte flags, int remainingLength, int totalLength)
  6. {
  7. Flags = flags;
  8. RemainingLength = remainingLength;
  9. TotalLength = totalLength;
  10. }
  11. public byte Flags { get; }
  12. public int RemainingLength { get; }
  13. public int TotalLength { get; }
  14. }
  15. }