Package org.stellar.sdk.xdr
Class SorobanResources
java.lang.Object
org.stellar.sdk.xdr.SorobanResources
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SorobanResourcesdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SorobanResources encodedSorobanResources) booleanstatic SorobanResourcesfromXdrBase64(String xdr) static SorobanResourcesfromXdrByteArray(byte[] xdr) inthashCode()voidsetFootprint(LedgerFootprint value) voidsetInstructions(Uint32 value) voidsetReadBytes(Uint32 value) voidsetWriteBytes(Uint32 value) byte[]
-
Constructor Details
-
SorobanResources
public SorobanResources()
-
-
Method Details
-
getFootprint
-
setFootprint
-
getInstructions
-
setInstructions
-
getReadBytes
-
setReadBytes
-
getWriteBytes
-
setWriteBytes
-
encode
public static void encode(XdrDataOutputStream stream, SorobanResources encodedSorobanResources) 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
-