Click or drag to resize
Accord.NET (logo)

NpzFormatSave Method (Array, CompressionLevel)

Saves the specified array to an array of bytes.

Namespace:  Accord.IO
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static byte[] Save(
	Array array,
	CompressionLevel compression = CompressionLevel.Fastest
)
Request Example View Source

Parameters

array
Type: SystemArray
The array to be saved to the array of bytes.
compression (Optional)
Type: System.IO.CompressionCompressionLevel
The compression level to use when compressing the array.

Return Value

Type: Byte
A byte array containig the saved array.
See Also