C# Class Akka.Interfaced.ProtobufSerializer.ProtobufSerializer

Inheritance: Akka.Serialization.Serializer
Afficher le fichier Open project: SaladLab/Akka.Interfaced

Méthodes publiques

Méthode Description
CreateTypeModel ( ) : ProtoBuf.Meta.TypeModel
FromBinary ( byte bytes, Type type ) : object
ProtobufSerializer ( ExtendedActorSystem system ) : System
ToBinary ( object obj ) : byte[]

Private Methods

Méthode Description
ReadType ( Stream stream ) : Type
WriteType ( Stream stream, Type type ) : void

Method Details

CreateTypeModel() public static méthode

public static CreateTypeModel ( ) : ProtoBuf.Meta.TypeModel
Résultat ProtoBuf.Meta.TypeModel

FromBinary() public méthode

public FromBinary ( byte bytes, Type type ) : object
bytes byte
type System.Type
Résultat object

ProtobufSerializer() public méthode

public ProtobufSerializer ( ExtendedActorSystem system ) : System
system ExtendedActorSystem
Résultat System

ToBinary() public méthode

public ToBinary ( object obj ) : byte[]
obj object
Résultat byte[]