Package org.stellar.sdk.xdr
Class SCBytes
java.lang.Object
org.stellar.sdk.xdr.SCBytes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCBytesdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SCBytes encodedSCBytes) booleanstatic SCBytesfromXdrBase64(String xdr) static SCBytesfromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetSCBytes(byte[] value) byte[]
-
Constructor Details
-
SCBytes
public SCBytes() -
SCBytes
public SCBytes(byte[] SCBytes)
-
-
Method Details
-
getSCBytes
public byte[] getSCBytes() -
setSCBytes
public void setSCBytes(byte[] value) -
encode
- Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-