Package org.stellar.sdk.xdr
Class SCPHistoryEntry
java.lang.Object
org.stellar.sdk.xdr.SCPHistoryEntry
SCPHistoryEntry's original definition in the XDR file is:
union SCPHistoryEntry switch (int v) { case 0: SCPHistoryEntryV0 v0; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCPHistoryEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCPHistoryEntry
fromXdrBase64
(String xdr) static SCPHistoryEntry
fromXdrByteArray
(byte[] xdr) getV0()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
toString()
default String
default byte[]
-
Constructor Details
-
SCPHistoryEntry
public SCPHistoryEntry() -
SCPHistoryEntry
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
setDiscriminant
-
setV0
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-