Package org.stellar.sdk.xdr
Class ContractID
java.lang.Object
org.stellar.sdk.xdr.ContractID
- All Implemented Interfaces:
XdrElement
ContractID's original definition in the XDR file is:
typedef Hash ContractID;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractIDdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ContractIDfromXdrBase64(String xdr) static ContractIDfromXdrByteArray(byte[] xdr) inthashCode()voidsetContractID(Hash ContractID) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
ContractID
public ContractID() -
ContractID
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getContractID
-
setContractID
-
equals
-
hashCode
public int hashCode() -
toString
-