Beispiel #1
0
 /// <summary>
 /// Print values of this instance to a stream.
 /// </summary>
 /// <param name="outStream">Stream to write the values into.</param>
 /// <param name="format">Format string to be used for output. See <see cref="System.String.Format(string,object)"/> for a specification
 /// of valid formating expressions. This flag is only used, when 'method' is set to 'Serial'.</param>
 /// <param name="method">A constant out of <see cref="ILArrayStreamSerializationFlags"/>. Specifies the way
 /// the values will be serialized.</param>
 /// <remarks><para>If method 'Formatted' is used, any occurences of NewLine character(s)
 /// will be replaced from the format string before applying to the elements. This is done to
 /// prevent the format from breaking the 'page' style for the output.</para>
 /// <para>If 'method' is set to 'Matlab', the array will be written as Matfile version 5.0. No compression will be used. The internal 'Name' property will be used as
 /// the array name for writing. This array instance will be the only array in the mat file. If you want to write several arrays bundled into one mat file, use the MatFile class to
 /// create a collection of arrays and write the MatFile to stream.</para></remarks>
 public abstract void ToStream(Stream outStream, string format, ILArrayStreamSerializationFlags method);
Beispiel #2
0
 /// <summary>
 /// Print values of this instance to a stream. 
 /// </summary>
 /// <param name="outStream">Stream to write the values into.</param>
 /// <param name="format">Format string to be used for output. See <see cref="System.String.Format(string,object)"/> for a specification
 /// of valid formating expressions. This flag is only used, when 'method' is set to 'Serial'.</param>
 /// <param name="method">A constant out of <see cref="ILArrayStreamSerializationFlags"/>. Specifies the way 
 /// the values will be serialized.</param>
 /// <remarks><para>If method 'Formatted' is used, any occurences of NewLine character(s) 
 /// will be replaced from the format string before applying to the elements. This is done to 
 /// prevent the format from breaking the 'page' style for the output.</para>
 /// <para>If 'method' is set to 'Matlab', the array will be written as Matfile version 5.0. No compression will be used. The internal 'Name' property will be used as 
 /// the array name for writing. This array instance will be the only array in the mat file. If you want to write several arrays bundled into one mat file, use the MatFile class to
 /// create a collection of arrays and write the MatFile to stream.</para></remarks>
 public abstract void ToStream(Stream outStream, string format, ILArrayStreamSerializationFlags method);