C# Class Akka.Interfaced.SlimSocket.ProtoBufMessageSerializer

Inheritance: IMessageSerializer
Datei anzeigen Open project: SaladLab/Akka.Interfaced.SlimSocket

Public Methods

Method Description
CanSerialize ( Type type ) : bool
Deserialize ( Stream source, object value, Type type ) : object
Deserialize ( Stream source, object value, Type type, int length ) : object
ProtoBufMessageSerializer ( ProtoBuf.Meta.TypeModel model ) : System
Serialize ( Stream dest, object value ) : void

Method Details

CanSerialize() public method

public CanSerialize ( Type type ) : bool
type System.Type
return bool

Deserialize() public method

public Deserialize ( Stream source, object value, Type type ) : object
source Stream
value object
type System.Type
return object

Deserialize() public method

public Deserialize ( Stream source, object value, Type type, int length ) : object
source Stream
value object
type System.Type
length int
return object

ProtoBufMessageSerializer() public method

public ProtoBufMessageSerializer ( ProtoBuf.Meta.TypeModel model ) : System
model ProtoBuf.Meta.TypeModel
return System

Serialize() public method

public Serialize ( Stream dest, object value ) : void
dest Stream
value object
return void