C# Class Akka.Interfaced.SlimSocket.ProtoBufMessageSerializer

Inheritance: IMessageSerializer
Afficher le fichier Open project: SaladLab/Akka.Interfaced.SlimSocket

Méthodes publiques

Méthode 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 méthode

public CanSerialize ( Type type ) : bool
type System.Type
Résultat bool

Deserialize() public méthode

public Deserialize ( Stream source, object value, Type type ) : object
source Stream
value object
type System.Type
Résultat object

Deserialize() public méthode

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

ProtoBufMessageSerializer() public méthode

public ProtoBufMessageSerializer ( ProtoBuf.Meta.TypeModel model ) : System
model ProtoBuf.Meta.TypeModel
Résultat System

Serialize() public méthode

public Serialize ( Stream dest, object value ) : void
dest Stream
value object
Résultat void