Package org.stellar.sdk.xdr
Class SCBytes
java.lang.Object
org.stellar.sdk.xdr.SCBytes
- All Implemented Interfaces:
XdrElement
SCBytes's original definition in the XDR file is:
typedef opaque SCBytes<>;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCBytesdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCBytesfromXdrBase64(String xdr) static SCBytesfromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetSCBytes(byte[] SCBytes) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCBytes
public SCBytes() -
SCBytes
public SCBytes(byte[] SCBytes)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-