# 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#** ``` C# public static T Deserialize( Stream stream ) ``` **F#** ``` F# static member Deserialize : stream : Stream -> 'T ``` #### Parameters StreamThe 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