Package org.stellar.sdk.xdr
Class Memo
java.lang.Object
org.stellar.sdk.xdr.Memo
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Memodecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, Memo encodedMemo) booleanstatic MemofromXdrBase64(String xdr) static MemofromXdrByteArray(byte[] xdr) getHash()getId()getText()inthashCode()voidsetDiscriminant(MemoType value) voidvoidvoidsetRetHash(Hash value) voidbyte[]
-
Constructor Details
-
Memo
public Memo()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getText
-
setText
-
getId
-
setId
-
getHash
-
setHash
-
getRetHash
-
setRetHash
-
encode
- Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-