CapyKit/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1_1.md
2024-09-04 19:31:43 -05:00

1.1 KiB

Deserialize<T>(Stream) Method

Deserializes an object to a given T type.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2

C#

public static T Deserialize<T>(
	Stream stream
)

F#

static member Deserialize : 
        stream : Stream -> 'T 

Parameters

  Stream
The steam.

Type Parameters

Generic type parameter.

Return Value

T
A T object.

Exceptions

FormatException Thrown when the format of an input is incorrect.

See Also

Reference

SerializationHelper Class
Deserialize Overload
CapyKit.Helpers Namespace