Beispiel #1
0
 public static ESD ReadWithContext(string path, EzSembleContext context)
 {
     using (FileStream stream = File.OpenRead(path))
     {
         BinaryReaderEx br   = new BinaryReaderEx(false, stream);
         ESD            file = new ESD();
         br = SFUtil.GetDecompressedBR(br, out file.Compression);
         file.ReadWithContext(br, context);
         return(file);
     }
 }