Package org.stellar.sdk.xdr
Class Value
java.lang.Object
org.stellar.sdk.xdr.Value
- All Implemented Interfaces:
XdrElement
Value's original definition in the XDR file is:
typedef opaque Value<>;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Value
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Value
fromXdrBase64
(String xdr) static Value
fromXdrByteArray
(byte[] xdr) byte[]
getValue()
int
hashCode()
void
setValue
(byte[] Value) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Value
public Value() -
Value
public Value(byte[] Value)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getValue
public byte[] getValue() -
setValue
public void setValue(byte[] Value) -
equals
-
hashCode
public int hashCode() -
toString
-