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

MsWillMsg() public method

public MsWillMsg ( byte buf, int start, int end ) : System
buf byte
start int
end int
return System
    public MsWillMsg(byte[] buf, int start, int end)
      : base(buf, start, end) {
      int ptr=buf[start+0]==1?start+4:start+2;
      if(_length+start-ptr>0) {
        Payload=buf.Skip(ptr).ToArray();
      }
      base.ReqTyp=MsMessageType.WILLMSGREQ;
    }
    public readonly byte[] Payload;