# Deserialize<T>(Byte[]) 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( byte[] bytes ) ``` **F#** ``` F# static member Deserialize : bytes : byte[] -> 'T ``` #### Parameters
  Byte[]
The byte array representing a T object.
#### Type Parameters
Generic type parameter.
#### Return Value T A *T* object. ## Exceptions
FormatException Thrown when the format of the byte array is incorrect.
## See Also #### Reference SerializationHelper Class Deserialize Overload CapyKit.Helpers Namespace