Package org.stellar.sdk.xdr
Class SCSpecUDTStructV0
java.lang.Object
org.stellar.sdk.xdr.SCSpecUDTStructV0
SCSpecUDTStructV0's original definition in the XDR file is:
struct SCSpecUDTStructV0 { string doc<SC_SPEC_DOC_LIMIT>; string lib<80>; string name<60>; SCSpecUDTStructFieldV0 fields<40>; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSCSpecUDTStructV0
(XdrString doc, XdrString lib, XdrString name, SCSpecUDTStructFieldV0[] fields) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SCSpecUDTStructV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCSpecUDTStructV0
fromXdrBase64
(String xdr) static SCSpecUDTStructV0
fromXdrByteArray
(byte[] xdr) getDoc()
getLib()
getName()
int
hashCode()
void
void
setFields
(SCSpecUDTStructFieldV0[] fields) void
void
toString()
default String
default byte[]
-
Constructor Details
-
SCSpecUDTStructV0
public SCSpecUDTStructV0() -
SCSpecUDTStructV0
public SCSpecUDTStructV0(XdrString doc, XdrString lib, XdrString name, SCSpecUDTStructFieldV0[] fields)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDoc
-
getLib
-
getName
-
getFields
-
setDoc
-
setLib
-
setName
-
setFields
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-