Package org.stellar.sdk.xdr
Class SCPBallot
java.lang.Object
org.stellar.sdk.xdr.SCPBallot
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCPBallotdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SCPBallot encodedSCPBallot) booleanstatic SCPBallotfromXdrBase64(String xdr) static SCPBallotfromXdrByteArray(byte[] xdr) getValue()inthashCode()voidsetCounter(Uint32 value) voidbyte[]
-
Constructor Details
-
SCPBallot
public SCPBallot()
-
-
Method Details
-
getCounter
-
setCounter
-
getValue
-
setValue
-
encode
public static void encode(XdrDataOutputStream stream, SCPBallot encodedSCPBallot) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-