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

MsRegAck() public method

public MsRegAck ( byte buf, int start, int end ) : System
buf byte
start int
end int
return System
    public MsRegAck(byte[] buf, int start, int end)
      : base(buf, start, end) {
      int ptr=buf[start+0]==1?start+4: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.REGISTER;
    }

Same methods

MsRegAck::MsRegAck ( ushort topicId, ushort messageId, MsReturnCode code ) : System