C# 클래스 Akka.Persistence.Serialization.SnapshotSerializer

상속: Akka.Serialization.Serializer
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

FromBinary() 공개 메소드

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

SnapshotSerializer() 공개 메소드

public SnapshotSerializer ( ExtendedActorSystem system ) : System
system ExtendedActorSystem
리턴 System

ToBinary() 공개 메소드

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