Package org.stellar.sdk.xdr
Class LedgerHeaderExtensionV1
java.lang.Object
org.stellar.sdk.xdr.LedgerHeaderExtensionV1
- All Implemented Interfaces:
XdrElement
LedgerHeaderExtensionV1's original definition in the XDR file is:
struct LedgerHeaderExtensionV1 { uint32 flags; // LedgerHeaderFlags union switch (int v) { case 0: void; } ext; };
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
LedgerHeaderExtensionV1Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerHeaderExtensionV1
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerHeaderExtensionV1
fromXdrBase64
(String xdr) static LedgerHeaderExtensionV1
fromXdrByteArray
(byte[] xdr) getExt()
getFlags()
int
hashCode()
void
void
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerHeaderExtensionV1
public LedgerHeaderExtensionV1() -
LedgerHeaderExtensionV1
public LedgerHeaderExtensionV1(Uint32 flags, LedgerHeaderExtensionV1.LedgerHeaderExtensionV1Ext ext)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getFlags
-
getExt
-
setFlags
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-