CapyKit/Documentation/Help/M_CapyKit_Helpers_SerializationHelper_Deserialize__1.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -05:00

1.2 KiB

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

C#

public static T Deserialize<T>(
	byte[] bytes
)

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