|
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
)
Public Shared Function Save (
array As Array,
Optional compression As CompressionLevel = CompressionLevel.Fastest
) As Byte()
Request Example
View SourceParameters
- 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:
ByteA byte array containig the saved array.
See Also