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

MsWillTopic() public method

public MsWillTopic ( byte buf, int start, int end ) : System
buf byte
start int
end int
return System
    public MsWillTopic(byte[] buf, int start, int end)
      : base(buf, start, end) {
      int ptr=buf[start+0]==1?start+4:start+2;
      this.Retain=(buf[ptr] & 0x10)!=0;
      ptr++;
      if(1+_length+start-ptr>0) {
        this.Path=enc.GetString(buf, ptr, _length+start-ptr);
      } else {
        this.Path=string.Empty;
      }
      base.ReqTyp=MsMessageType.WILLTOPICREQ;
    }
    public readonly string Path;