Package org.stellar.sdk.xdr
Class XdrString
java.lang.Object
org.stellar.sdk.xdr.XdrString
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XdrStringdecode(XdrDataInputStream stream, int maxSize) voidencode(XdrDataOutputStream stream) booleanstatic XdrStringfromXdrBase64(String xdr) static XdrStringfromXdrBase64(String xdr, int maxSize) static XdrStringfromXdrByteArray(byte[] xdr) static XdrStringfromXdrByteArray(byte[] xdr, int maxSize) byte[]getBytes()inthashCode()toString()default Stringdefault 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
-