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 UpgradeType
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static UpgradeType
fromXdrBase64
(String xdr) static UpgradeType
fromXdrByteArray
(byte[] xdr) byte[]
int
hashCode()
void
setUpgradeType
(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:
encode
in 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
-