|
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.8.0
Syntax public static void Save(
Array array,
Stream stream,
CompressionLevel compression = CompressionLevel.Fastest,
bool leaveOpen = false
)
Public Shared Sub Save (
array As Array,
stream As Stream,
Optional compression As CompressionLevel = CompressionLevel.Fastest,
Optional leaveOpen As Boolean = false
)
Request Example
View SourceParameters
- 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