Package org.stellar.sdk.xdr
Class Int256Parts
java.lang.Object
org.stellar.sdk.xdr.Int256Parts
- All Implemented Interfaces:
XdrElement
Int256Parts's original definition in the XDR file is:
struct Int256Parts {
int64 hi_hi;
uint64 hi_lo;
uint64 lo_hi;
uint64 lo_lo;
};
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionInt256Parts(Int64 hi_hi, Uint64 hi_lo, Uint64 lo_hi, Uint64 lo_lo) Creates a newInt256Partsinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static Int256Partsdecode(XdrDataInputStream stream) static Int256Partsdecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic Int256Partsstatic Int256PartsfromXdrBase64(String xdr) static Int256PartsfromXdrByteArray(byte[] xdr) getHi_hi()Value of thehi_hifield.getHi_lo()Value of thehi_lofield.getLo_hi()Value of thelo_hifield.getLo_lo()Value of thelo_lofield.inthashCode()voidValue of thehi_hifield.voidValue of thehi_lofield.voidValue of thelo_hifield.voidValue of thelo_lofield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Int256Parts
public Int256Parts() -
Int256Parts
Creates a newInt256Partsinstance.- Parameters:
hi_hi- thehi_hifield valuehi_lo- thehi_lofield valuelo_hi- thelo_hifield valuelo_lo- thelo_lofield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
builder
-
toBuilder
-
getHi_hi
Value of thehi_hifield.- Returns:
- the
hi_hifield value
-
getHi_lo
Value of thehi_lofield.- Returns:
- the
hi_lofield value
-
getLo_hi
Value of thelo_hifield.- Returns:
- the
lo_hifield value
-
getLo_lo
Value of thelo_lofield.- Returns:
- the
lo_lofield value
-
setHi_hi
Value of thehi_hifield.- Parameters:
hi_hi- thehi_hifield value
-
setHi_lo
Value of thehi_lofield.- Parameters:
hi_lo- thehi_lofield value
-
setLo_hi
Value of thelo_hifield.- Parameters:
lo_hi- thelo_hifield value
-
setLo_lo
Value of thelo_lofield.- Parameters:
lo_lo- thelo_lofield value
-
equals
-
hashCode
public int hashCode() -
toString
-