public void TestStringList()
        {
            _sendBridgeStream.Write(new List<string>() { "ferhat", "mehmet", "seker", "seko" });
            var data = _sendBridgeStream.Encode();

            var receivePacket = new BridgeStream(data);
            var sendValue = receivePacket.ReadStringList();
            var expected = new List<string>() { "ferhat", "mehmet", "seker", "seko" };
            Assert.AreEqual(expected[0], sendValue[0]);
            Assert.AreEqual(expected[1], sendValue[1]);
            Assert.AreEqual(expected[2], sendValue[2]);
            Assert.AreEqual(expected[3], sendValue[3]);
        }
 public void Read(BridgeStream stream)
 {
     matchId     = stream.ReadInt();
     playerIds   = stream.ReadIntList();
     playerNames = stream.ReadStringList();
 }