C# Class Akka.Persistence.Serialization.SnapshotSerializer

Inheritance: Akka.Serialization.Serializer
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
FromBinary ( byte bytes, Type type ) : object

Deserializes a Snapshot. Delegates deserialization of snapshot data to a matching Serializer

SnapshotSerializer ( ExtendedActorSystem system ) : System
ToBinary ( object obj ) : byte[]

Serializes a Snapshot. Delegates serialization of snapshot data to a matching Serializer

Private Methods

Méthode Description
GetTransportInformation ( ) : Akka.Serialization.Information
ParseSnapshotHeader ( ArraySegment headerBytes ) : SnapshotHeader
ReadInt ( MemoryStream buffer ) : int
Serialize ( object snapshot ) : byte[]
SnapshotFromBinary ( byte bytes ) : object
SnapshotToBinary ( object snapshot ) : byte[]
WriteInt ( MemoryStream buffer, int i ) : void

Method Details

FromBinary() public méthode

Deserializes a Snapshot. Delegates deserialization of snapshot data to a matching Serializer
public FromBinary ( byte bytes, Type type ) : object
bytes byte
type System.Type
Résultat object

SnapshotSerializer() public méthode

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

ToBinary() public méthode

Serializes a Snapshot. Delegates serialization of snapshot data to a matching Serializer
public ToBinary ( object obj ) : byte[]
obj object
Résultat byte[]