Package org.stellar.sdk.xdr
Class SCMetaEntry
java.lang.Object
org.stellar.sdk.xdr.SCMetaEntry
- All Implemented Interfaces:
XdrElement
SCMetaEntry's original definition in the XDR file is:
union SCMetaEntry switch (SCMetaKind kind)
{
case SC_META_V0:
SCMetaV0 v0;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCMetaEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCMetaEntryfromXdrBase64(String xdr) static SCMetaEntryfromXdrByteArray(byte[] xdr) getV0()inthashCode()voidsetDiscriminant(SCMetaKind discriminant) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCMetaEntry
public SCMetaEntry() -
SCMetaEntry
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-