public static ArcadeGame Deserialize(Stream stream)
        {
            ArcadeGame arcadeGame = Pool.Get <ArcadeGame>();

            ArcadeGame.Deserialize(stream, arcadeGame, false);
            return(arcadeGame);
        }
 public static ArcadeGame Deserialize(byte[] buffer, ArcadeGame instance, bool isDelta = false)
 {
     using (MemoryStream memoryStream = new MemoryStream(buffer))
     {
         ArcadeGame.Deserialize(memoryStream, instance, isDelta);
     }
     return(instance);
 }
        public static ArcadeGame Deserialize(byte[] buffer)
        {
            ArcadeGame arcadeGame = Pool.Get <ArcadeGame>();

            using (MemoryStream memoryStream = new MemoryStream(buffer))
            {
                ArcadeGame.Deserialize(memoryStream, arcadeGame, false);
            }
            return(arcadeGame);
        }
 public void FromProto(Stream stream, bool isDelta = false)
 {
     ArcadeGame.Deserialize(stream, this, isDelta);
 }