# Deserialize<T>(Byte[]) Method Deserializes an object to a given *T* type. ## Definition **Namespace:** CapyKit.Helpers **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d **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