encode static method
Implementation
static void encode(
XdrDataOutputStream stream, XdrStellarValue encodedStellarValue) {
XdrHash.encode(stream, encodedStellarValue.txSetHash);
XdrUint64.encode(stream, encodedStellarValue.closeTime);
int upgradessize = encodedStellarValue.upgrades.length;
stream.writeInt(upgradessize);
for (int i = 0; i < upgradessize; i++) {
XdrUpgradeType.encode(stream, encodedStellarValue.upgrades[i]);
}
XdrStellarValueExt.encode(stream, encodedStellarValue.ext);
}