private static List <StoryboardObject> GetStoryboardObjectsFromOsbin(string path) { using (var stream = File.OpenRead(path)) { return(StoryboardBinaryFormatter.Deserialize(stream).ToList()); } }
private void GenerateOsbin(string file_path, Feature feature) { objectsA = StoryboardParserHelper.GetStoryboardObjects(file_path); StoryboardBinaryFormatter.Serialize(feature, objectsA, stream); }
private void GenerateCompressionOsbin(string file_path, int v) { objectsA = StoryboardParserHelper.GetStoryboardObjects(file_path); StoryboardBinaryFormatter.ZipSerialize(0, objectsA, stream); }
private void Parser() { objectsB = StoryboardBinaryFormatter.Deserialize(stream).ToList(); }
private void CompressionParser() { objectsB = StoryboardBinaryFormatter.UnzipDeserialize(stream).ToList(); }