Example #1
0
 SaveInput(Save1730Pars _pars)
 {
     pars   = _pars;
     size   = pars.Size * 512 * 1024 / sizeof(int);
     count  = 0;
     input  = new int[size];
     output = new int[size];
 }
Example #2
0
 public static SaveInput Create(Save1730Pars _pars)
 {
     if (!_pars.IsSave)
     {
         return(null);
     }
     if (_pars.Size <= 0)
     {
         return(null);
     }
     if (_pars.FileName == null)
     {
         return(null);
     }
     return(new SaveInput(_pars));
 }