X13.Periphery.MsPubAck.MsPubAck C# (CSharp) Method

MsPubAck() public method

public MsPubAck ( byte buf, int start, int end ) : System
buf byte
start int
end int
return System
    public MsPubAck(byte[] buf, int start, int end)
      : base(buf, start, end) {
      int ptr=start+2;
      this.TopicId=(ushort)((buf[ptr++]<<8) | buf[ptr++]);
      this.MessageId=(ushort)((buf[ptr++]<<8) | buf[ptr++]);
      this.retCode=(MsReturnCode)buf[ptr];
      this.ReqTyp=MsMessageType.PUBLISH;
    }
    public override byte[] GetBytes() {

Same methods

MsPubAck::MsPubAck ( ushort topicId, ushort messageId, MsReturnCode retCode ) : System