Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatFileWriter"/> class with a stream.
 /// </summary>
 /// <param name="stream">Output stream.</param>
 /// <param name="options">Options to use for file writing.</param>
 public MatFileWriter(Stream stream, MatFileWriterOptions options)
 {
     Stream   = stream;
     _options = options;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatFileWriter"/> class with a stream and default options.
 /// </summary>
 /// <param name="stream">Output stream.</param>
 public MatFileWriter(Stream stream)
 {
     Stream   = stream;
     _options = MatFileWriterOptions.Default;
 }