Click or drag to resize
Accord.NET (logo)

SerializerLoadT Method (Stream, SerializerCompression)

Loads an object from a stream.

Namespace:  Accord.IO
Assembly:  Accord (in Accord.dll) Version: 3.6.0
Syntax
public static T Load<T>(
	Stream stream,
	SerializerCompression compression = SerializerCompression.None
)
Request Example View Source

Parameters

stream
Type: System.IOStream
The stream from which the object is to be deserialized.
compression (Optional)
Type: Accord.IOSerializerCompression
The type of compression to use. Default is None.

Type Parameters

T

Return Value

Type: T
The deserialized machine.
See Also