示例#1
0
        public static List <Scene> ReadPackage(string path)
        {
            var encodedFile  = File.ReadAllText(path);
            var decodedBytes = Convert.FromBase64String(encodedFile);
            var decoded      = Encoding.UTF8.GetString(decodedBytes);

            return
                (FileParseHelper.SplitByScene(decoded)
                 .Select(sceneText => FileParseHelper.GetScene(path, sceneText))
                 .ToList());
        }