public class ShortHashSeed extends java.lang.Object implements XdrElement
struct ShortHashSeed { opaque seed[16]; };
Modifier and Type | Class and Description |
---|---|
static class |
ShortHashSeed.ShortHashSeedBuilder |
Constructor and Description |
---|
ShortHashSeed() |
ShortHashSeed(byte[] seed) |
Modifier and Type | Method and Description |
---|---|
static ShortHashSeed.ShortHashSeedBuilder |
builder() |
static ShortHashSeed |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ShortHashSeed |
fromXdrBase64(java.lang.String xdr) |
static ShortHashSeed |
fromXdrByteArray(byte[] xdr) |
byte[] |
getSeed() |
int |
hashCode() |
void |
setSeed(byte[] seed) |
ShortHashSeed.ShortHashSeedBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ShortHashSeed()
public ShortHashSeed(byte[] seed)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ShortHashSeed decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ShortHashSeed fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ShortHashSeed fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ShortHashSeed.ShortHashSeedBuilder builder()
public ShortHashSeed.ShortHashSeedBuilder toBuilder()
public byte[] getSeed()
public void setSeed(byte[] seed)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object