Show / Hide Table of Contents

Class TxMarshaler

Inheritance
System.Object
TxMarshaler
Namespace: Libplanet.Types.Tx
Assembly: Libplanet.Types.dll
Syntax
public static class TxMarshaler : object

Methods

| Improve this Doc View Source

DeserializeTransactionWithoutVerification(Byte[])

Declaration
public static Transaction DeserializeTransactionWithoutVerification(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes
Returns
Type Description
Transaction
| Improve this Doc View Source

DeserializeUnsignedTx(ImmutableArray<Byte>)

Declaration
public static IUnsignedTx DeserializeUnsignedTx(ImmutableArray<byte> bytes)
Parameters
Type Name Description
ImmutableArray<System.Byte> bytes
Returns
Type Description
IUnsignedTx
| Improve this Doc View Source

DeserializeUnsignedTx(Byte[])

Declaration
public static IUnsignedTx DeserializeUnsignedTx(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes
Returns
Type Description
IUnsignedTx
| Improve this Doc View Source

MarshalTransaction(Transaction)

Declaration
public static Bencodex.Types.Dictionary MarshalTransaction(this Transaction transaction)
Parameters
Type Name Description
Transaction transaction
Returns
Type Description
Bencodex.Types.Dictionary
| Improve this Doc View Source

MarshalTxInvoice(ITxInvoice)

Declaration
public static Bencodex.Types.Dictionary MarshalTxInvoice(this ITxInvoice invoice)
Parameters
Type Name Description
ITxInvoice invoice
Returns
Type Description
Bencodex.Types.Dictionary
| Improve this Doc View Source

MarshalTxSigningMetadata(ITxSigningMetadata)

Declaration
public static Bencodex.Types.Dictionary MarshalTxSigningMetadata(this ITxSigningMetadata metadata)
Parameters
Type Name Description
ITxSigningMetadata metadata
Returns
Type Description
Bencodex.Types.Dictionary
| Improve this Doc View Source

MarshalUnsignedTx(IUnsignedTx)

Declaration
public static Bencodex.Types.Dictionary MarshalUnsignedTx(this IUnsignedTx unsignedTx)
Parameters
Type Name Description
IUnsignedTx unsignedTx
Returns
Type Description
Bencodex.Types.Dictionary
| Improve this Doc View Source

SerializeUnsignedTx(IUnsignedTx)

Declaration
public static ImmutableArray<byte> SerializeUnsignedTx(this IUnsignedTx unsignedTx)
Parameters
Type Name Description
IUnsignedTx unsignedTx
Returns
Type Description
ImmutableArray<System.Byte>
| Improve this Doc View Source

UnmarshalTransaction(Bencodex.Types.Dictionary)

Declaration
public static Transaction UnmarshalTransaction(Bencodex.Types.Dictionary dictionary)
Parameters
Type Name Description
Bencodex.Types.Dictionary dictionary
Returns
Type Description
Transaction
| Improve this Doc View Source

UnmarshalTransactionSignature(Bencodex.Types.Dictionary)

Declaration
public static ImmutableArray<byte>? UnmarshalTransactionSignature(Bencodex.Types.Dictionary dictionary)
Parameters
Type Name Description
Bencodex.Types.Dictionary dictionary
Returns
Type Description
System.Nullable<ImmutableArray<System.Byte>>
| Improve this Doc View Source

UnmarshalTransactionWithoutVerification(Bencodex.Types.Dictionary)

Declaration
public static Transaction UnmarshalTransactionWithoutVerification(Bencodex.Types.Dictionary dictionary)
Parameters
Type Name Description
Bencodex.Types.Dictionary dictionary
Returns
Type Description
Transaction
| Improve this Doc View Source

UnmarshalTxInvoice(Bencodex.Types.Dictionary)

Declaration
public static ITxInvoice UnmarshalTxInvoice(Bencodex.Types.Dictionary dictionary)
Parameters
Type Name Description
Bencodex.Types.Dictionary dictionary
Returns
Type Description
ITxInvoice
| Improve this Doc View Source

UnmarshalTxSigningMetadata(Bencodex.Types.Dictionary)

Declaration
public static ITxSigningMetadata UnmarshalTxSigningMetadata(Bencodex.Types.Dictionary dictionary)
Parameters
Type Name Description
Bencodex.Types.Dictionary dictionary
Returns
Type Description
ITxSigningMetadata
| Improve this Doc View Source

UnmarshalUnsignedTx(Bencodex.Types.Dictionary)

Declaration
public static UnsignedTx UnmarshalUnsignedTx(Bencodex.Types.Dictionary dictionary)
Parameters
Type Name Description
Bencodex.Types.Dictionary dictionary
Returns
Type Description
UnsignedTx
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium