Show / Hide Table of Contents

Class MemoHashAbstract

Inheritance
System.Object
Memo
MemoHashAbstract
MemoHash
MemoReturnHash
Inherited Members
Memo.None()
Memo.Text(String)
Memo.Text(Byte[])
Memo.Id(UInt64)
Memo.Hash(Byte[])
Memo.Hash(String)
Memo.ReturnHash(Byte[])
Memo.ReturnHash(String)
Memo.FromXdr(Memo)
Memo.Equals(System.Object)
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public abstract class MemoHashAbstract : Memo

Constructors

MemoHashAbstract(Byte[])

Declaration
public MemoHashAbstract(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes

MemoHashAbstract(String)

Declaration
public MemoHashAbstract(string hexString)
Parameters
Type Name Description
System.String hexString

Fields

_MemoBytes

Declaration
protected byte[] _MemoBytes
Field Value
System.Byte[]

Properties

MemoBytes

Declaration
public byte[] MemoBytes { get; }
Property Value
System.Byte[]

Methods

Equals(Object)

Declaration
public override bool Equals(Object o)
Parameters
Type Name Description
Object o
Returns
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
Memo.GetHashCode()

GetHexValue()

Returns hex representation of bytes contained in this memo.

Example:

  MemoHash memo = new MemoHash("4142434445");
  memo.getHexValue(); // 4142434445000000000000000000000000000000000000000000000000000000
  memo.getTrimmedHexValue(); // 4142434445
Declaration
public string GetHexValue()
Returns
System.String

GetTrimmedHexValue()

Returns hex representation of bytes contained in this memo until null byte (0x00) is found.

Example:

  MemoHash memo = new MemoHash("4142434445");
  memo.getHexValue(); // 4142434445000000000000000000000000000000000000000000000000000000
  memo.getTrimmedHexValue(); // 4142434445
Declaration
public string GetTrimmedHexValue()
Returns
System.String

ToXdr()

Declaration
public abstract override Memo ToXdr()
Returns
stellar_dotnet_sdk.xdr.Memo

Overrides
Memo.ToXdr()
Back to top Generated by DocFX