decode method
Implementation
static XdrPathPaymentStrictSendOp decode(XdrDataInputStream stream) {
XdrPathPaymentStrictSendOp decodedPathPaymentOp =
XdrPathPaymentStrictSendOp();
decodedPathPaymentOp.sendAsset = XdrAsset.decode(stream);
decodedPathPaymentOp.sendMax = XdrInt64.decode(stream);
decodedPathPaymentOp.destination = XdrMuxedAccount.decode(stream);
decodedPathPaymentOp.destAsset = XdrAsset.decode(stream);
decodedPathPaymentOp.destAmount = XdrInt64.decode(stream);
int pathsize = stream.readInt();
decodedPathPaymentOp.path = List<XdrAsset>(pathsize);
for (int i = 0; i < pathsize; i++) {
decodedPathPaymentOp.path[i] = XdrAsset.decode(stream);
}
return decodedPathPaymentOp;
}