C# Class Simple.IO.Serialization.DataContractSimpleSerializer

Inheritance: ISimpleSerializer, ISimpleStringSerializer
显示文件 Open project: juanplopes/simple

Public Methods

Method Description
DataContractSimpleSerializer ( Type type ) : System
Deserialize ( byte data ) : object
DeserializeFromString ( string data ) : object
Serialize ( object graph ) : byte[]
SerializeToString ( object graph ) : string

Method Details

DataContractSimpleSerializer() public method

public DataContractSimpleSerializer ( Type type ) : System
type System.Type
return System

Deserialize() public method

public Deserialize ( byte data ) : object
data byte
return object

DeserializeFromString() public method

public DeserializeFromString ( string data ) : object
data string
return object

Serialize() public method

public Serialize ( object graph ) : byte[]
graph object
return byte[]

SerializeToString() public method

public SerializeToString ( object graph ) : string
graph object
return string