/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request, int Length) { byte[] b = new byte[4]; b[0] = request.ReadByte(); b[1] = request.ReadByte(); b[2] = request.ReadByte(); b[3] = request.ReadByte(); ipAddress = new System.Net.IPAddress(b); protocol = request.ReadByte(); bitmap = request.ReadBytes(Length - 5); }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request, int Length) { this.datas = request.ReadBytes(Length); }