Package org.stellar.sdk.xdr
Class Value
java.lang.Object
org.stellar.sdk.xdr.Value
Value's original definition in the XDR file is:
typedef opaque Value<>;
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
Value
public Value() -
Value
public Value(byte[] Value)
-
-
Method Details
-
encode
- 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
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-