Package org.stellar.sdk.xdr
Class SCSymbol
java.lang.Object
org.stellar.sdk.xdr.SCSymbol
- All Implemented Interfaces:
XdrElement
SCSymbol's original definition in the XDR file is:
typedef string SCSymbol<SCSYMBOL_LIMIT>;
-
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCSymboldecode(XdrDataInputStream stream) static SCSymboldecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) booleanstatic SCSymbolstatic SCSymbolfromXdrBase64(String xdr) static SCSymbolfromXdrByteArray(byte[] xdr) inthashCode()voidsetSCSymbol(XdrString SCSymbol) toJson()toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCSymbol
public SCSymbol() -
SCSymbol
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
- Specified by:
toJsonin interfaceXdrElement
-
fromJson
-
getSCSymbol
-
setSCSymbol
-
equals
-
hashCode
public int hashCode() -
toString
-