Package org.stellar.sdk.xdr
Class XdrString
java.lang.Object
org.stellar.sdk.xdr.XdrString
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
XdrString
public XdrString(byte[] bytes) -
XdrString
-
-
Method Details
-
encode
- 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() -
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-