Package org.stellar.sdk.xdr
Class Uint256
java.lang.Object
org.stellar.sdk.xdr.Uint256
- All Implemented Interfaces:
XdrElement
Uint256's original definition in the XDR file is:
typedef opaque uint256[32];
-
Constructor Summary
Constructors -
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()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Uint256
public Uint256() -
Uint256
public Uint256(byte[] uint256)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- 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
-