public class Hash extends java.lang.Object implements XdrElement
typedef opaque Hash[32];
| Modifier and Type | Method and Description |
|---|---|
static Hash |
decode(XdrDataInputStream stream) |
static Hash |
decode(XdrDataInputStream stream,
int maxDepth) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static Hash |
fromXdrBase64(java.lang.String xdr) |
static Hash |
fromXdrByteArray(byte[] xdr) |
byte[] |
getHash() |
int |
hashCode() |
void |
setHash(byte[] Hash) |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static Hash decode(XdrDataInputStream stream, int maxDepth) throws java.io.IOException
java.io.IOExceptionpublic static Hash decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static Hash fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static Hash fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic byte[] getHash()
public void setHash(byte[] Hash)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object