Package org.stellar.sdk.xdr
Class XdrString
java.lang.Object
org.stellar.sdk.xdr.XdrString
- All Implemented Interfaces:
XdrElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XdrString
decode
(XdrDataInputStream stream, int maxSize) void
encode
(XdrDataOutputStream stream) boolean
static XdrString
fromXdrBase64
(String xdr) static XdrString
fromXdrBase64
(String xdr, int maxSize) static XdrString
fromXdrByteArray
(byte[] xdr) static XdrString
fromXdrByteArray
(byte[] xdr, int maxSize) byte[]
getBytes()
int
hashCode()
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
XdrString
public XdrString(byte[] bytes) -
XdrString
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toString
-
getBytes
public byte[] getBytes() -
equals
-
hashCode
public int hashCode()
-