Summer.Batch.Common.Util.SerializationUtils Class Reference
Serialization helper. More...
Static Public Member Functions | |
static byte[] | Serialize (this object obj) |
Serializes an object to a byte array. More... | |
static T | Deserialize< T > (this byte[] bytes) |
Deserializes a byte array to an object. More... | |
Detailed Description
Serialization helper.
Member Function Documentation
|
static |
Deserializes a byte array to an object.
- Template Parameters
-
T The type of the object to deserialize to.
- Parameters
-
bytes The byte array to deserialize.
- Returns
- The deserialized object.
|
static |
Serializes an object to a byte array.
- Parameters
-
obj The object to serialize.
- Returns
- A byte array representing the obj .
The documentation for this class was generated from the following file:
- Summer.Batch.Common/Util/SerializationUtils.cs