Package org.stellar.sdk.xdr
Class UpgradeType
java.lang.Object
org.stellar.sdk.xdr.UpgradeType
UpgradeType's original definition in the XDR file is:
typedef opaque UpgradeType<128>;
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
UpgradeType
public UpgradeType() -
UpgradeType
public UpgradeType(byte[] UpgradeType)
-
-
Method Details
-
encode
- 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
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-