Package org.stellar.sdk.xdr
Class ContractCodeCostInputs
java.lang.Object
org.stellar.sdk.xdr.ContractCodeCostInputs
ContractCodeCostInputs's original definition in the XDR file is:
struct ContractCodeCostInputs { ExtensionPoint ext; uint32 nInstructions; uint32 nFunctions; uint32 nGlobals; uint32 nTableEntries; uint32 nTypes; uint32 nDataSegments; uint32 nElemSegments; uint32 nImports; uint32 nExports; uint32 nDataSegmentBytes; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ContractCodeCostInputs
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ContractCodeCostInputs
fromXdrBase64
(String xdr) static ContractCodeCostInputs
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
setExt
(ExtensionPoint ext) void
setNDataSegmentBytes
(Uint32 nDataSegmentBytes) void
setNDataSegments
(Uint32 nDataSegments) void
setNElemSegments
(Uint32 nElemSegments) void
setNExports
(Uint32 nExports) void
setNFunctions
(Uint32 nFunctions) void
setNGlobals
(Uint32 nGlobals) void
setNImports
(Uint32 nImports) void
setNInstructions
(Uint32 nInstructions) void
setNTableEntries
(Uint32 nTableEntries) void
toString()
default String
default byte[]
-
Constructor Details
-
ContractCodeCostInputs
public ContractCodeCostInputs() -
ContractCodeCostInputs
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getNInstructions
-
getNFunctions
-
getNGlobals
-
getNTableEntries
-
getNTypes
-
getNDataSegments
-
getNElemSegments
-
getNImports
-
getNExports
-
getNDataSegmentBytes
-
setExt
-
setNInstructions
-
setNFunctions
-
setNGlobals
-
setNTableEntries
-
setNTypes
-
setNDataSegments
-
setNElemSegments
-
setNImports
-
setNExports
-
setNDataSegmentBytes
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-