C# Class NSoft.NFramework.Serializations.Serializers.CompressSerializer

Inheritance: AbstractSerializer
显示文件 Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
CompressSerializer ( ISerializer serializer ) : System
CompressSerializer ( ISerializer serializer, ICompressor compressor ) : System
Deserialize ( byte data ) : object

Serialized 된 정보를 Deserialize 를 수행해서 객체로 반환한다.

Serialize ( object graph ) : byte[]

지정된 객체를 Serialize를 수행한다.

Method Details

CompressSerializer() public method

public CompressSerializer ( ISerializer serializer ) : System
serializer ISerializer
return System

CompressSerializer() public method

public CompressSerializer ( ISerializer serializer, ICompressor compressor ) : System
serializer ISerializer
compressor ICompressor
return System

Deserialize() public method

Serialized 된 정보를 Deserialize 를 수행해서 객체로 반환한다.
public Deserialize ( byte data ) : object
data byte serialized data to be deserialized.
return object

Serialize() public method

지정된 객체를 Serialize를 수행한다.
public Serialize ( object graph ) : byte[]
graph object object to be serialized.
return byte[]