Class MessagePackSerializer<TProtocol>
Base class for source-generated MessagePack serializers scoped to a protocol marker type.
Inheritance
MessagePackSerializer<TProtocol>
Assembly: Akka.Serialization.V2.dll
Syntax
public abstract class MessagePackSerializer<TProtocol> : SerializerV2
Type Parameters
| Name |
Description |
| TProtocol |
|
Constructors
|
Edit this page
View Source
MessagePackSerializer(ExtendedActorSystem)
Declaration
protected MessagePackSerializer(ExtendedActorSystem system)
Parameters
Methods
|
Edit this page
View Source
ReadActorRef(ref MessagePackReader)
Declaration
protected IActorRef? ReadActorRef(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
|
Edit this page
View Source
ReadDateTime(ref MessagePackReader)
Declaration
protected static DateTime ReadDateTime(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
|
Edit this page
View Source
ReadDateTimeOffset(ref MessagePackReader)
Declaration
protected static DateTimeOffset ReadDateTimeOffset(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
|
Edit this page
View Source
ReadDecimal(ref MessagePackReader)
Declaration
protected static decimal ReadDecimal(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
|
Edit this page
View Source
ReadEnvelopePayload(ref MessagePackReader)
Declaration
protected object? ReadEnvelopePayload(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
|
Edit this page
View Source
ReadEnvelopePayload<TPayload>(ref MessagePackReader)
Declaration
protected TPayload ReadEnvelopePayload<TPayload>(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
| Type |
Description |
| TPayload |
|
Type Parameters
| Name |
Description |
| TPayload |
|
|
Edit this page
View Source
ReadGuid(ref MessagePackReader)
Declaration
protected static Guid ReadGuid(ref MessagePackReader reader)
Parameters
| Type |
Name |
Description |
| MessagePackReader |
reader |
|
Returns
|
Edit this page
View Source
SizeOfActorRef(IActorRef?)
Declaration
protected static int SizeOfActorRef(IActorRef? actorRef)
Parameters
Returns
|
Edit this page
View Source
Declaration
protected static int SizeOfArrayHeader(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
Declaration
protected static int SizeOfBinHeader(int byteCount)
Parameters
| Type |
Name |
Description |
| int |
byteCount |
|
Returns
|
Edit this page
View Source
SizeOfBoolean(bool)
Declaration
protected static int SizeOfBoolean(bool value)
Parameters
| Type |
Name |
Description |
| bool |
value |
|
Returns
|
Edit this page
View Source
SizeOfBytes(byte[]?)
Declaration
protected static int SizeOfBytes(byte[]? value)
Parameters
| Type |
Name |
Description |
| byte[] |
value |
|
Returns
|
Edit this page
View Source
SizeOfDateTime(DateTime)
Declaration
protected static int SizeOfDateTime(DateTime value)
Parameters
Returns
|
Edit this page
View Source
SizeOfDateTimeOffset(DateTimeOffset)
Declaration
protected static int SizeOfDateTimeOffset(DateTimeOffset value)
Parameters
Returns
|
Edit this page
View Source
SizeOfDecimal(decimal)
Declaration
protected static int SizeOfDecimal(decimal value)
Parameters
| Type |
Name |
Description |
| decimal |
value |
|
Returns
|
Edit this page
View Source
SizeOfDouble(double)
Declaration
protected static int SizeOfDouble(double value)
Parameters
| Type |
Name |
Description |
| double |
value |
|
Returns
|
Edit this page
View Source
SizeOfEnum(int)
Declaration
protected static int SizeOfEnum(int value)
Parameters
| Type |
Name |
Description |
| int |
value |
|
Returns
|
Edit this page
View Source
SizeOfEnvelopePayload(object?)
Declaration
protected int SizeOfEnvelopePayload(object? payload)
Parameters
| Type |
Name |
Description |
| object |
payload |
|
Returns
|
Edit this page
View Source
SizeOfGuid(Guid)
Declaration
protected static int SizeOfGuid(Guid value)
Parameters
| Type |
Name |
Description |
| Guid |
value |
|
Returns
|
Edit this page
View Source
SizeOfInt32(int)
Declaration
protected static int SizeOfInt32(int value)
Parameters
| Type |
Name |
Description |
| int |
value |
|
Returns
|
Edit this page
View Source
SizeOfInt64(long)
Declaration
protected static int SizeOfInt64(long value)
Parameters
| Type |
Name |
Description |
| long |
value |
|
Returns
|
Edit this page
View Source
Declaration
protected static int SizeOfMapHeader(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
SizeOfNil()
Declaration
protected static int SizeOfNil()
Returns
|
Edit this page
View Source
SizeOfString(string?)
Declaration
protected static int SizeOfString(string? value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
|
Edit this page
View Source
ToBinary(object)
Serializes the given object into a byte array for compatibility boundaries.
Declaration
public override byte[] ToBinary(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
WriteActorRef(ref MessagePackWriter, IActorRef?)
Declaration
protected static void WriteActorRef(ref MessagePackWriter writer, IActorRef? actorRef)
Parameters
| Type |
Name |
Description |
| MessagePackWriter |
writer |
|
| IActorRef |
actorRef |
|
|
Edit this page
View Source
WriteDateTime(ref MessagePackWriter, DateTime)
Declaration
protected static void WriteDateTime(ref MessagePackWriter writer, DateTime value)
Parameters
| Type |
Name |
Description |
| MessagePackWriter |
writer |
|
| DateTime |
value |
|
|
Edit this page
View Source
WriteDateTimeOffset(ref MessagePackWriter, DateTimeOffset)
Declaration
protected static void WriteDateTimeOffset(ref MessagePackWriter writer, DateTimeOffset value)
Parameters
|
Edit this page
View Source
WriteDecimal(ref MessagePackWriter, decimal)
Declaration
protected static void WriteDecimal(ref MessagePackWriter writer, decimal value)
Parameters
| Type |
Name |
Description |
| MessagePackWriter |
writer |
|
| decimal |
value |
|
|
Edit this page
View Source
WriteEnvelopePayload(ref MessagePackWriter, object?)
Declaration
protected void WriteEnvelopePayload(ref MessagePackWriter writer, object? payload)
Parameters
| Type |
Name |
Description |
| MessagePackWriter |
writer |
|
| object |
payload |
|
|
Edit this page
View Source
WriteGuid(ref MessagePackWriter, Guid)
Declaration
protected static void WriteGuid(ref MessagePackWriter writer, Guid value)
Parameters
| Type |
Name |
Description |
| MessagePackWriter |
writer |
|
| Guid |
value |
|
Extension Methods