Package org.stellar.sdk.xdr
Class SCPBallot
java.lang.Object
org.stellar.sdk.xdr.SCPBallot
SCPBallot's original definition in the XDR file is:
struct SCPBallot { uint32 counter; // n Value value; // x };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SCPBallot.SCPBallotBuilder
builder()
static SCPBallot
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCPBallot
fromXdrBase64
(String xdr) static SCPBallot
fromXdrByteArray
(byte[] xdr) getValue()
int
hashCode()
void
setCounter
(Uint32 counter) void
toString()
default String
default byte[]
-
Constructor Details
-
SCPBallot
public SCPBallot() -
SCPBallot
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getCounter
-
getValue
-
setCounter
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-