C# Class Akka.Serialization.SerializerWithStringManifest

Inheritance: Serializer
ファイルを表示 Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
FromBinary ( byte bytes, Type type ) : object
FromBinary ( byte binary, string manifest ) : object

Produces an object from an array of bytes, with an optional type-hint.

Manifest ( object o ) : string

Return the manifest (type hint) that will be provided in the fromBinary method. Return string.Empty if not needed.

Protected Methods

Method Description
SerializerWithStringManifest ( ExtendedActorSystem system ) : System

Method Details

FromBinary() public final method

public final FromBinary ( byte bytes, Type type ) : object
bytes byte
type System.Type
return object

FromBinary() public abstract method

Produces an object from an array of bytes, with an optional type-hint.
public abstract FromBinary ( byte binary, string manifest ) : object
binary byte
manifest string
return object

Manifest() public abstract method

Return the manifest (type hint) that will be provided in the fromBinary method. Return string.Empty if not needed.
public abstract Manifest ( object o ) : string
o object
return string

SerializerWithStringManifest() protected method

protected SerializerWithStringManifest ( ExtendedActorSystem system ) : System
system ExtendedActorSystem
return System