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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ContractCodeCostInputsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ContractCodeCostInputsfromXdrBase64(String xdr) static ContractCodeCostInputsfromXdrByteArray(byte[] xdr) getExt()inthashCode()voidsetExt(ExtensionPoint ext) voidsetNDataSegmentBytes(Uint32 nDataSegmentBytes) voidsetNDataSegments(Uint32 nDataSegments) voidsetNElemSegments(Uint32 nElemSegments) voidsetNExports(Uint32 nExports) voidsetNFunctions(Uint32 nFunctions) voidsetNGlobals(Uint32 nGlobals) voidsetNImports(Uint32 nImports) voidsetNInstructions(Uint32 nInstructions) voidsetNTableEntries(Uint32 nTableEntries) voidtoString()default Stringdefault 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
-