Package org.stellar.sdk.xdr
Class SCBytes
java.lang.Object
org.stellar.sdk.xdr.SCBytes
SCBytes's original definition in the XDR file is:
typedef opaque SCBytes<>;
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SCBytes
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCBytes
fromXdrBase64
(String xdr) static SCBytes
fromXdrByteArray
(byte[] xdr) byte[]
int
hashCode()
void
setSCBytes
(byte[] SCBytes) toString()
default String
default byte[]
-
Constructor Details
-
SCBytes
public SCBytes() -
SCBytes
public SCBytes(byte[] SCBytes)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getSCBytes
public byte[] getSCBytes() -
setSCBytes
public void setSCBytes(byte[] SCBytes) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-