Package org.stellar.sdk.xdr
Class SCSpecEntry
java.lang.Object
org.stellar.sdk.xdr.SCSpecEntry
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCSpecEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SCSpecEntry encodedSCSpecEntry) booleanstatic SCSpecEntryfromXdrBase64(String xdr) static SCSpecEntryfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(SCSpecEntryKind value) voidsetFunctionV0(SCSpecFunctionV0 value) voidsetUdtEnumV0(SCSpecUDTEnumV0 value) voidvoidsetUdtStructV0(SCSpecUDTStructV0 value) voidsetUdtUnionV0(SCSpecUDTUnionV0 value) byte[]
-
Constructor Details
-
SCSpecEntry
public SCSpecEntry()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getFunctionV0
-
setFunctionV0
-
getUdtStructV0
-
setUdtStructV0
-
getUdtUnionV0
-
setUdtUnionV0
-
getUdtEnumV0
-
setUdtEnumV0
-
getUdtErrorEnumV0
-
setUdtErrorEnumV0
-
encode
public static void encode(XdrDataOutputStream stream, SCSpecEntry encodedSCSpecEntry) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-