Package org.stellar.sdk.xdr
Class Hash
java.lang.Object
org.stellar.sdk.xdr.Hash
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Hashdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, Hash encodedHash) booleanstatic HashfromXdrBase64(String xdr) static HashfromXdrByteArray(byte[] xdr) byte[]getHash()inthashCode()voidsetHash(byte[] value) byte[]
-
Constructor Details
-
Hash
public Hash() -
Hash
public Hash(byte[] Hash)
-
-
Method Details
-
getHash
public byte[] getHash() -
setHash
public void setHash(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
-