public void WritePacket(ProtocolPacket packet)
        {
            DataPacket p = new DataPacket(packet.GetData());

            p.WriteTo(_writer);
        }
Beispiel #2
0
 public DataPacket(ProtocolPacket packet) : this(packet.GetData())
 {
 }