Class MemoReturnHash

java.lang.Object
org.stellar.sdk.Memo
org.stellar.sdk.MemoReturnHash

public class MemoReturnHash extends Memo
Represents MEMO_RETURN.
  • Constructor Details

    • MemoReturnHash

      public MemoReturnHash(byte[] bytes)
    • MemoReturnHash

      public MemoReturnHash(String hexString)
  • Method Details

    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • getHexValue

      public String getHexValue()
      Returns hex representation of bytes contained in this memo.

      Example: MemoHash memo = new MemoHash("e98869bba8bce08c10b78406202127f3888c25454cd37b02600862452751f526"); memo.getHexValue(); // e98869bba8bce08c10b78406202127f3888c25454cd37b02600862452751f526

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getBytes

      public byte @NonNull [] getBytes()
      32 bytes long array contained in this memo.