Package org.stellar.sdk.xdr
Class LedgerHeader.LedgerHeaderExt
java.lang.Object
org.stellar.sdk.xdr.LedgerHeader.LedgerHeaderExt
- Enclosing class:
LedgerHeader
LedgerHeaderExt's original definition in the XDR file is:
union switch (int v)
{
case 0:
void;
case 1:
LedgerHeaderExtensionV1 v1;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerHeader.LedgerHeaderExtdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerHeader.LedgerHeaderExtfromXdrBase64(String xdr) static LedgerHeader.LedgerHeaderExtfromXdrByteArray(byte[] xdr) getV1()inthashCode()voidsetDiscriminant(Integer discriminant) voidtoString()default Stringdefault byte[]
-
Constructor Details
-
LedgerHeaderExt
public LedgerHeaderExt() -
LedgerHeaderExt
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1
-
setDiscriminant
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-