Package org.stellar.sdk.xdr
Class UpgradeType
java.lang.Object
org.stellar.sdk.xdr.UpgradeType
- All Implemented Interfaces:
XdrElement
UpgradeType's original definition in the XDR file is:
typedef opaque UpgradeType<128>;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeTypedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic UpgradeTypefromXdrBase64(String xdr) static UpgradeTypefromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetUpgradeType(byte[] UpgradeType) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
UpgradeType
public UpgradeType() -
UpgradeType
public UpgradeType(byte[] UpgradeType)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getUpgradeType
public byte[] getUpgradeType() -
setUpgradeType
public void setUpgradeType(byte[] UpgradeType) -
equals
-
hashCode
public int hashCode() -
toString
-