X13.Periphery.MsSuback.GetBytes C# (CSharp) Method

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]
    public override byte[] GetBytes() {
      base._length=8;
      byte[] buf=base.GetBytes();
      buf[2]=(byte)(((int)_qualityOfService)<<5);
      buf[3]=(byte)(_topicId>>8);
      buf[4]=(byte)_topicId;
      buf[5]=(byte)(_msgId>>8);
      buf[6]=(byte)_msgId;
      buf[7]=(byte)_retCode;
      return buf;
    }