SaveInput(Save1730Pars _pars) { pars = _pars; size = pars.Size * 512 * 1024 / sizeof(int); count = 0; input = new int[size]; output = new int[size]; }
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)); }