示例#1
0
 private static List <StoryboardObject> GetStoryboardObjectsFromOsbin(string path)
 {
     using (var stream = File.OpenRead(path))
     {
         return(StoryboardBinaryFormatter.Deserialize(stream).ToList());
     }
 }
示例#2
0
        private void GenerateOsbin(string file_path, Feature feature)
        {
            objectsA = StoryboardParserHelper.GetStoryboardObjects(file_path);

            StoryboardBinaryFormatter.Serialize(feature, objectsA, stream);
        }
示例#3
0
        private void GenerateCompressionOsbin(string file_path, int v)
        {
            objectsA = StoryboardParserHelper.GetStoryboardObjects(file_path);

            StoryboardBinaryFormatter.ZipSerialize(0, objectsA, stream);
        }
示例#4
0
 private void Parser()
 {
     objectsB = StoryboardBinaryFormatter.Deserialize(stream).ToList();
 }
示例#5
0
 private void CompressionParser()
 {
     objectsB = StoryboardBinaryFormatter.UnzipDeserialize(stream).ToList();
 }