Package org.stellar.sdk.xdr
Class ContractCodeEntry
java.lang.Object
org.stellar.sdk.xdr.ContractCodeEntry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractCodeEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, ContractCodeEntry encodedContractCodeEntry) booleanstatic ContractCodeEntryfromXdrBase64(String xdr) static ContractCodeEntryfromXdrByteArray(byte[] xdr) byte[]getCode()getExt()getHash()inthashCode()voidsetCode(byte[] value) voidvoidbyte[]
-
Constructor Details
-
ContractCodeEntry
public ContractCodeEntry()
-
-
Method Details
-
getExt
-
setExt
-
getHash
-
setHash
-
getCode
public byte[] getCode() -
setCode
public void setCode(byte[] value) -
encode
public static void encode(XdrDataOutputStream stream, ContractCodeEntry encodedContractCodeEntry) 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
-