Table of Contents

Class SignedTransactionFormatter

Namespace
NLightning.Transport.Ipc.MessagePack.Formatters
Assembly
NLightning.Transport.Ipc.dll
public class SignedTransactionFormatter : IMessagePackFormatter<SignedTransaction?>
Inheritance
SignedTransactionFormatter
Implements
IMessagePackFormatter<SignedTransaction>
Inherited Members

Methods

Deserialize(ref MessagePackReader, MessagePackSerializerOptions)

Deserializes a value.

public SignedTransaction Deserialize(ref MessagePackReader reader, MessagePackSerializerOptions options)

Parameters

reader MessagePackReader

The reader to deserialize from.

options MessagePackSerializerOptions

The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type SignedTransaction.

Returns

SignedTransaction

The deserialized value.

Serialize(ref MessagePackWriter, SignedTransaction?, MessagePackSerializerOptions)

Serializes a value.

public void Serialize(ref MessagePackWriter writer, SignedTransaction? value, MessagePackSerializerOptions options)

Parameters

writer MessagePackWriter

The writer to use when serializing the value.

value SignedTransaction

The value to be serialized.

options MessagePackSerializerOptions

The serialization settings to use, including the resolver to use to obtain formatters for types that make up the composite type SignedTransaction.