|
SerializerLoadT Method (Byte, T, SerializerCompression)
|
Loads an object from a stream, represented as an array of bytes.
Namespace:
Accord.IO
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static T Load<T>(
byte[] bytes,
out T value,
SerializerCompression compression = SerializerCompression.None
)
Public Shared Function Load(Of T) (
bytes As Byte(),
<OutAttribute> ByRef value As T,
Optional compression As SerializerCompression = SerializerCompression.None
) As T
Request Example
View SourceParameters
- bytes
- Type: SystemByte
The byte stream containing the object to be deserialized. - value
- Type: T
The object to be read. This parameter can be used to avoid the
need of specifying a generic argument to this function. - compression (Optional)
- Type: Accord.IOSerializerCompression
The type of compression to use. Default is None.
Type Parameters
- T
Return Value
Type:
TThe deserialized object.
See Also