Package org.stellar.sdk.xdr
Class ShortHashSeed
java.lang.Object
org.stellar.sdk.xdr.ShortHashSeed
ShortHashSeed's original definition in the XDR file is:
struct ShortHashSeed
{
opaque seed[16];
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ShortHashSeeddecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ShortHashSeedfromXdrBase64(String xdr) static ShortHashSeedfromXdrByteArray(byte[] xdr) byte[]getSeed()inthashCode()voidsetSeed(byte[] seed) toString()default Stringdefault byte[]
-
Constructor Details
-
ShortHashSeed
public ShortHashSeed() -
ShortHashSeed
public ShortHashSeed(byte[] seed)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSeed
public byte[] getSeed() -
setSeed
public void setSeed(byte[] seed) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-