public class UpgradeType extends java.lang.Object implements XdrElement
typedef opaque UpgradeType<128>;
| Constructor and Description |
|---|
UpgradeType() |
UpgradeType(byte[] UpgradeType) |
| Modifier and Type | Method and Description |
|---|---|
static UpgradeType |
decode(XdrDataInputStream stream) |
static UpgradeType |
decode(XdrDataInputStream stream,
int maxDepth) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static UpgradeType |
fromXdrBase64(java.lang.String xdr) |
static UpgradeType |
fromXdrByteArray(byte[] xdr) |
byte[] |
getUpgradeType() |
int |
hashCode() |
void |
setUpgradeType(byte[] UpgradeType) |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic UpgradeType()
public UpgradeType(byte[] UpgradeType)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static UpgradeType decode(XdrDataInputStream stream, int maxDepth) throws java.io.IOException
java.io.IOExceptionpublic static UpgradeType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static UpgradeType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static UpgradeType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic byte[] getUpgradeType()
public void setUpgradeType(byte[] UpgradeType)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object