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; }
public G2PacketQK(QueryKey k) : base() { this.type = G2PacketType.QK; QKey = k; }