Package org.stellar.sdk.xdr
Class Uint256
java.lang.Object
org.stellar.sdk.xdr.Uint256
Uint256's original definition in the XDR file is:
typedef opaque uint256[32];
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Uint256
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Uint256
fromXdrBase64
(String xdr) static Uint256
fromXdrByteArray
(byte[] xdr) byte[]
int
hashCode()
void
setUint256
(byte[] uint256) toString()
default String
default byte[]
-
Constructor Details
-
Uint256
public Uint256() -
Uint256
public Uint256(byte[] uint256)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getUint256
public byte[] getUint256() -
setUint256
public void setUint256(byte[] uint256) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-