ILNumerics Ultimate VSILBaseArrayToStream Method ILNumerics Ultimate VS Documentation
ILNumerics - The Productivity Machine
Print values of this instance to a stream.

[ILNumerics Core Module]

Namespace: ILNumerics
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 4.14.0.0 (4.14.6369.1422)
Syntax

public abstract void ToStream(
	Stream outStream,
	string format,
	ILArrayStreamSerializationFlags method
)

Parameters

outStream
Type: System.IOStream
Stream to write the values into.
format
Type: SystemString
Format string to be used for output. See Format(String, Object) for a specification of valid formating expressions. This flag is only used, when 'method' is set to 'Serial'.
method
Type: ILNumericsILArrayStreamSerializationFlags
A constant out of ILArrayStreamSerializationFlags. Specifies the way the values will be serialized.
Remarks

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.

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.

[ILNumerics Core Module]

See Also

Reference