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