Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyTtl
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyTtl
- Enclosing class:
LedgerKey
LedgerKeyTtl's original definition in the XDR file is:
struct { // Hash of the LedgerKey that is associated with this TTLEntry Hash keyHash; }
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerKey.LedgerKeyTtl
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerKey.LedgerKeyTtl
fromXdrBase64
(String xdr) static LedgerKey.LedgerKeyTtl
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setKeyHash
(Hash keyHash) toString()
default String
default byte[]
-
Constructor Details
-
LedgerKeyTtl
public LedgerKeyTtl() -
LedgerKeyTtl
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKeyHash
-
setKeyHash
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-