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 Valuedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ValuefromXdrBase64(String xdr) static ValuefromXdrByteArray(byte[] xdr) byte[]getValue()inthashCode()voidsetValue(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:
encodein 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
-