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