decode method

XdrClaimOfferAtom decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrClaimOfferAtom decode(XdrDataInputStream stream) {
  XdrClaimOfferAtom decodedClaimOfferAtom = XdrClaimOfferAtom();
  decodedClaimOfferAtom.sellerID = XdrAccountID.decode(stream);
  decodedClaimOfferAtom.offerID = XdrUint64.decode(stream);
  decodedClaimOfferAtom.assetSold = XdrAsset.decode(stream);
  decodedClaimOfferAtom.amountSold = XdrInt64.decode(stream);
  decodedClaimOfferAtom.assetBought = XdrAsset.decode(stream);
  decodedClaimOfferAtom.amountBought = XdrInt64.decode(stream);
  return decodedClaimOfferAtom;
}