Package org.stellar.sdk.xdr
Class LedgerHeaderExtensionV1
java.lang.Object
org.stellar.sdk.xdr.LedgerHeaderExtensionV1
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
Modifier and TypeClassDescriptionstatic class
static class
LedgerHeaderExtensionV1Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorDescription -
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()
default String
default byte[]
-
Constructor Details
-
LedgerHeaderExtensionV1
public LedgerHeaderExtensionV1() -
LedgerHeaderExtensionV1
public LedgerHeaderExtensionV1(Uint32 flags, LedgerHeaderExtensionV1.LedgerHeaderExtensionV1Ext ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getFlags
-
getExt
-
setFlags
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-