Package org.stellar.sdk.xdr
Class SCVal
java.lang.Object
org.stellar.sdk.xdr.SCVal
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCValdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SCVal encodedSCVal) booleanstatic SCValfromXdrBase64(String xdr) static SCValfromXdrByteArray(byte[] xdr) getB()getBytes()getError()getI128()getI256()getI32()getI64()getMap()getStr()getSym()getU128()getU256()getU32()getU64()getVec()inthashCode()voidsetAddress(SCAddress value) voidvoidvoidsetDiscriminant(SCValType value) voidsetDuration(Duration value) voidvoidsetI128(Int128Parts value) voidsetI256(Int256Parts value) voidvoidvoidsetInstance(SCContractInstance value) voidvoidsetNonce_key(SCNonceKey value) voidvoidvoidsetTimepoint(TimePoint value) voidsetU128(UInt128Parts value) voidsetU256(UInt256Parts value) voidvoidvoidbyte[]
-
Constructor Details
-
SCVal
public SCVal()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getB
-
setB
-
getError
-
setError
-
getU32
-
setU32
-
getI32
-
setI32
-
getU64
-
setU64
-
getI64
-
setI64
-
getTimepoint
-
setTimepoint
-
getDuration
-
setDuration
-
getU128
-
setU128
-
getI128
-
setI128
-
getU256
-
setU256
-
getI256
-
setI256
-
getBytes
-
setBytes
-
getStr
-
setStr
-
getSym
-
setSym
-
getVec
-
setVec
-
getMap
-
setMap
-
getAddress
-
setAddress
-
getNonce_key
-
setNonce_key
-
getInstance
-
setInstance
-
encode
- 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
-