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;