Class ParticipationPublicKeyFormatterMsgPack
Implements
IMessagePackFormatter<ParticipationPublicKey>
Inherited Members
Namespace: Algorand.Algod.Model.Converters.MsgPack
Assembly: Algorand.dll
Syntax
public class ParticipationPublicKeyFormatterMsgPack : IMessagePackFormatter<ParticipationPublicKey?>
Methods
| Edit this page View SourceDeserialize(ref MessagePackReader, MessagePackSerializerOptions)
Deserializes a value.
Declaration
public ParticipationPublicKey? Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| MessagePackReader | reader | The reader to deserialize from. |
| MessagePackSerializerOptions | options | The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type ParticipationPublicKey. |
Returns
| Type | Description |
|---|---|
| ParticipationPublicKey | The deserialized value. |
Serialize(ref MessagePackWriter, ParticipationPublicKey?, MessagePackSerializerOptions)
Serializes a value.
Declaration
public void Serialize(ref MessagePackWriter writer, ParticipationPublicKey? value, MessagePackSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| MessagePackWriter | writer | The writer to use when serializing the value. |
| ParticipationPublicKey | value | The value to be serialized. |
| MessagePackSerializerOptions | options | The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type ParticipationPublicKey. |
Implements
MessagePack.Formatters.IMessagePackFormatter<T>