public void TestInt()
 {
     _sendBridgeStream.Write(10);
     var data = _sendBridgeStream.Encode();
     var receivePacket = new BridgeStream(data);
     var sendValue = receivePacket.ReadInt();
     Assert.AreEqual(10, sendValue);
 }
 public void Read(BridgeStream stream)
 {
     matchId     = stream.ReadInt();
     playerIds   = stream.ReadIntList();
     playerNames = stream.ReadStringList();
 }