Class ValueDeltaFormatterMsgPack
Implements
IMessagePackFormatter<ValueDelta>
Inherited Members
Namespace: Algorand.Algod.Model.Converters.MsgPack
Assembly: Algorand.dll
Syntax
public class ValueDeltaFormatterMsgPack : IMessagePackFormatter<ValueDelta?>
Methods
| Edit this page View SourceDeserialize(ref MessagePackReader, MessagePackSerializerOptions)
Deserializes a value.
Declaration
public ValueDelta? 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 ValueDelta. |
Returns
| Type | Description |
|---|---|
| ValueDelta | The deserialized value. |
Serialize(ref MessagePackWriter, ValueDelta?, MessagePackSerializerOptions)
Serializes a value.
Declaration
public void Serialize(ref MessagePackWriter writer, ValueDelta? value, MessagePackSerializerOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| MessagePackWriter | writer | The writer to use when serializing the value. |
| ValueDelta | 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 ValueDelta. |
Implements
MessagePack.Formatters.IMessagePackFormatter<T>