Click or drag to resize
Accord.NET (logo)

NpzFormatSave Method (Array, Stream, CompressionLevel, Boolean)

Saves the specified array to a stream.

Namespace:  Accord.IO
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.7.0
Syntax
public static void Save(
	Array array,
	Stream stream,
	CompressionLevel compression = CompressionLevel.Fastest,
	bool leaveOpen = false
)
Request Example View Source

Parameters

array
Type: SystemArray
The array to be saved to disk.
stream
Type: System.IOStream
The stream to which the file will be saved.
compression (Optional)
Type: System.IO.CompressionCompressionLevel
The compression level to use when compressing the array.
leaveOpen (Optional)
Type: SystemBoolean
True to leave the stream opened after the file is saved; false otherwise.
See Also