public void WritePacket( PacketData.PacketWrapper envelope ) { _packets++; _formatter.Serialize( WriteableStream, envelope ); }