private SpssWriter(SavFileWriter output, ICollection <Variable> variables, SpssOptions options = null) { _output = output; _variables = variables.ToList(); _options = options ?? _options; WriteFileHeader(); }
/// <summary> /// Creates a spss writer /// </summary> /// <param name="output">The binary stream to write to</param> /// <param name="variables">The variable collection to use</param> /// <param name="options"></param> public SpssWriter(Stream output, ICollection <Variable> variables, SpssOptions options = null) : this(new SavFileWriter(output), variables, options) { }