Package org.stellar.sdk.xdr
Class EncodedLedgerKey
java.lang.Object
org.stellar.sdk.xdr.EncodedLedgerKey
- All Implemented Interfaces:
XdrElement
EncodedLedgerKey's original definition in the XDR file is:
typedef opaque EncodedLedgerKey<>;
-
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EncodedLedgerKeydecode(XdrDataInputStream stream) static EncodedLedgerKeydecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) booleanstatic EncodedLedgerKeystatic EncodedLedgerKeyfromXdrBase64(String xdr) static EncodedLedgerKeyfromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetEncodedLedgerKey(byte[] EncodedLedgerKey) toJson()toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
EncodedLedgerKey
public EncodedLedgerKey() -
EncodedLedgerKey
public EncodedLedgerKey(byte[] EncodedLedgerKey)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
- Specified by:
toJsonin interfaceXdrElement
-
fromJson
-
getEncodedLedgerKey
public byte[] getEncodedLedgerKey() -
setEncodedLedgerKey
public void setEncodedLedgerKey(byte[] EncodedLedgerKey) -
equals
-
hashCode
public int hashCode() -
toString
-