decode method

XdrAllowTrustOp decode (
  1. XdrDataInputStream stream
)

Implementation

static XdrAllowTrustOp decode(XdrDataInputStream stream) {
  XdrAllowTrustOp decodedAllowTrustOp = XdrAllowTrustOp();
  decodedAllowTrustOp.trustor = XdrAccountID.decode(stream);
  decodedAllowTrustOp.asset = XdrAllowTrustOpAsset.decode(stream);
  decodedAllowTrustOp.authorize = stream.readInt();
  return decodedAllowTrustOp;
}