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 T Summer.Batch.Common.Util.SerializationUtils.Deserialize< T > ( this byte[]  bytes)
static

Deserializes a byte array to an object.

Template Parameters
T The type of the object to deserialize to.
Parameters
bytesThe byte array to deserialize.
Returns
The deserialized object.
static byte [] Summer.Batch.Common.Util.SerializationUtils.Serialize ( this object  obj)
static

Serializes an object to a byte array.

Parameters
objThe 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