public override int ReadPayload(System.IO.MemoryStream stream, int length) { //Debug.Assert(length == QueryKey.LEN, "G2PacketQK supposed to read " + QueryKey.LEN + " but has to read " + length); QKey = QueryKey.ReadQueryKey(stream); return(QueryKey.LEN); }